view gpp/news/fixtures/news_categories.json @ 334:6805d15cda13

Adding a script I had to write on the fly to filter out posts from the posts csv file that had no parent topics. MyISAM let me get away with that, but InnoDB won't.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Feb 2011 01:28:22 +0000
parents 1246a4f1ab4f
children 9894f8cbb931
line wrap: on
line source
[
    {
        "pk": 2, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_articles.jpg", 
            "slug": "articles", 
            "title": "Articles"
        }
    }, 
    {
        "pk": 3, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_bands.jpg", 
            "slug": "bands", 
            "title": "Bands"
        }
    }, 
    {
        "pk": 11, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/video.gif", 
            "slug": "featured-videos", 
            "title": "Featured Videos"
        }
    }, 
    {
        "pk": 4, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_gear.jpg", 
            "slug": "gear", 
            "title": "Gear"
        }
    }, 
    {
        "pk": 5, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_interviews.jpg", 
            "slug": "interviews", 
            "title": "Interviews"
        }
    }, 
    {
        "pk": 6, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_reviews.jpg", 
            "slug": "reviews", 
            "title": "Reviews"
        }
    }, 
    {
        "pk": 7, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_showannoun.jpg", 
            "slug": "show-announcements", 
            "title": "Show Announcements"
        }
    }, 
    {
        "pk": 8, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_showreport.jpg", 
            "slug": "show-reports", 
            "title": "Show Reports"
        }
    }, 
    {
        "pk": 1, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_sitenews.jpg", 
            "slug": "site-news", 
            "title": "Site News"
        }
    }, 
    {
        "pk": 9, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_surfscene.jpg", 
            "slug": "surf-scene-news", 
            "title": "Surf Scene News"
        }
    }, 
    {
        "pk": 10, 
        "model": "news.category", 
        "fields": {
            "icon": "news/categories/nch_tab.jpg", 
            "slug": "tablature", 
            "title": "Tablature"
        }
    }
]