annotate gpp/news/fixtures/news_categories.json @ 467:b910cc1460c8

Add the ability to conditionally add model instances to the search index on update. This is not perfect, as some instances should be deleted from the index if they are updated such that they should not be in the index anymore. Will think about and address that later.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Jul 2011 18:12:20 +0000
parents 1246a4f1ab4f
children 9894f8cbb931
rev   line source
bgneal@236 1 [
bgneal@236 2 {
bgneal@236 3 "pk": 2,
bgneal@236 4 "model": "news.category",
bgneal@236 5 "fields": {
bgneal@236 6 "icon": "news/categories/nch_articles.jpg",
bgneal@240 7 "slug": "articles",
bgneal@236 8 "title": "Articles"
bgneal@236 9 }
bgneal@236 10 },
bgneal@236 11 {
bgneal@236 12 "pk": 3,
bgneal@236 13 "model": "news.category",
bgneal@236 14 "fields": {
bgneal@236 15 "icon": "news/categories/nch_bands.jpg",
bgneal@240 16 "slug": "bands",
bgneal@236 17 "title": "Bands"
bgneal@236 18 }
bgneal@236 19 },
bgneal@236 20 {
bgneal@236 21 "pk": 11,
bgneal@236 22 "model": "news.category",
bgneal@236 23 "fields": {
bgneal@236 24 "icon": "news/categories/video.gif",
bgneal@240 25 "slug": "featured-videos",
bgneal@236 26 "title": "Featured Videos"
bgneal@236 27 }
bgneal@236 28 },
bgneal@236 29 {
bgneal@236 30 "pk": 4,
bgneal@236 31 "model": "news.category",
bgneal@236 32 "fields": {
bgneal@236 33 "icon": "news/categories/nch_gear.jpg",
bgneal@240 34 "slug": "gear",
bgneal@236 35 "title": "Gear"
bgneal@236 36 }
bgneal@236 37 },
bgneal@236 38 {
bgneal@236 39 "pk": 5,
bgneal@236 40 "model": "news.category",
bgneal@236 41 "fields": {
bgneal@236 42 "icon": "news/categories/nch_interviews.jpg",
bgneal@240 43 "slug": "interviews",
bgneal@236 44 "title": "Interviews"
bgneal@236 45 }
bgneal@236 46 },
bgneal@236 47 {
bgneal@236 48 "pk": 6,
bgneal@236 49 "model": "news.category",
bgneal@236 50 "fields": {
bgneal@236 51 "icon": "news/categories/nch_reviews.jpg",
bgneal@240 52 "slug": "reviews",
bgneal@236 53 "title": "Reviews"
bgneal@236 54 }
bgneal@236 55 },
bgneal@236 56 {
bgneal@236 57 "pk": 7,
bgneal@236 58 "model": "news.category",
bgneal@236 59 "fields": {
bgneal@236 60 "icon": "news/categories/nch_showannoun.jpg",
bgneal@240 61 "slug": "show-announcements",
bgneal@236 62 "title": "Show Announcements"
bgneal@236 63 }
bgneal@236 64 },
bgneal@236 65 {
bgneal@236 66 "pk": 8,
bgneal@236 67 "model": "news.category",
bgneal@236 68 "fields": {
bgneal@236 69 "icon": "news/categories/nch_showreport.jpg",
bgneal@240 70 "slug": "show-reports",
bgneal@236 71 "title": "Show Reports"
bgneal@236 72 }
bgneal@236 73 },
bgneal@236 74 {
bgneal@236 75 "pk": 1,
bgneal@236 76 "model": "news.category",
bgneal@236 77 "fields": {
bgneal@236 78 "icon": "news/categories/nch_sitenews.jpg",
bgneal@240 79 "slug": "site-news",
bgneal@236 80 "title": "Site News"
bgneal@236 81 }
bgneal@236 82 },
bgneal@236 83 {
bgneal@236 84 "pk": 9,
bgneal@236 85 "model": "news.category",
bgneal@236 86 "fields": {
bgneal@236 87 "icon": "news/categories/nch_surfscene.jpg",
bgneal@240 88 "slug": "surf-scene-news",
bgneal@236 89 "title": "Surf Scene News"
bgneal@236 90 }
bgneal@236 91 },
bgneal@236 92 {
bgneal@236 93 "pk": 10,
bgneal@236 94 "model": "news.category",
bgneal@236 95 "fields": {
bgneal@236 96 "icon": "news/categories/nch_tab.jpg",
bgneal@240 97 "slug": "tablature",
bgneal@236 98 "title": "Tablature"
bgneal@236 99 }
bgneal@236 100 }
bgneal@236 101 ]