annotate gpp/news/fixtures/news_categories.json @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +0000
parents 9894f8cbb931
children
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@497 6 "icon": "news/categories/Articles.png",
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@497 15 "icon": "news/categories/Bands.png",
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@497 24 "icon": "news/categories/Featured_Video.png",
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@497 33 "icon": "news/categories/Gear.png",
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@497 42 "icon": "news/categories/Interviews.png",
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@497 51 "icon": "news/categories/Reviews.png",
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@497 60 "icon": "news/categories/Show_Announcements.png",
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@497 69 "icon": "news/categories/Show_Reports.png",
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@497 78 "icon": "news/categories/Site_News.png",
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@497 87 "icon": "news/categories/Surf_Scene_News.png",
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@497 96 "icon": "news/categories/Guitar_Tabs.png",
bgneal@240 97 "slug": "tablature",
bgneal@236 98 "title": "Tablature"
bgneal@236 99 }
bgneal@236 100 }
bgneal@236 101 ]