annotate gpp/bio/fixtures/badges.json @ 322:c3d3d7114749

Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Feb 2011 21:37:17 +0000
parents 953c71f382df
children 47f4259ce511
rev   line source
bgneal@236 1 [
bgneal@236 2 {
bgneal@236 3 "pk": 7,
bgneal@236 4 "model": "bio.badge",
bgneal@236 5 "fields": {
bgneal@236 6 "numeric_id": 2,
bgneal@236 7 "image": "badges/newspaper.png",
bgneal@236 8 "order": 0,
bgneal@236 9 "name": "News Pin",
bgneal@236 10 "description": "For submitting a news article to the site news."
bgneal@236 11 }
bgneal@236 12 },
bgneal@236 13 {
bgneal@236 14 "pk": 4,
bgneal@236 15 "model": "bio.badge",
bgneal@236 16 "fields": {
bgneal@236 17 "numeric_id": 1,
bgneal@236 18 "image": "badges/date.png",
bgneal@236 19 "order": 1,
bgneal@236 20 "name": "Calendar Pin",
bgneal@236 21 "description": "For adding an event to the site calendar."
bgneal@236 22 }
bgneal@236 23 },
bgneal@236 24 {
bgneal@236 25 "pk": 9,
bgneal@236 26 "model": "bio.badge",
bgneal@236 27 "fields": {
bgneal@236 28 "numeric_id": 3,
bgneal@236 29 "image": "badges/world_link.png",
bgneal@236 30 "order": 2,
bgneal@236 31 "name": "Link Pin",
bgneal@236 32 "description": "For submitting a link to the site web links database."
bgneal@236 33 }
bgneal@236 34 },
bgneal@236 35 {
bgneal@236 36 "pk": 5,
bgneal@236 37 "model": "bio.badge",
bgneal@236 38 "fields": {
bgneal@236 39 "numeric_id": 4,
bgneal@236 40 "image": "badges/disk.png",
bgneal@236 41 "order": 3,
bgneal@236 42 "name": "Download Pin",
bgneal@236 43 "description": "For uploading a file to the site downloads library."
bgneal@236 44 }
bgneal@236 45 },
bgneal@236 46 {
bgneal@236 47 "pk": 6,
bgneal@236 48 "model": "bio.badge",
bgneal@236 49 "fields": {
bgneal@236 50 "numeric_id": 0,
bgneal@236 51 "image": "badges/money_dollar.png",
bgneal@236 52 "order": 4,
bgneal@236 53 "name": "Contributor Pin",
bgneal@236 54 "description": "For making a donation to the site."
bgneal@236 55 }
bgneal@236 56 },
bgneal@236 57 {
bgneal@236 58 "pk": 8,
bgneal@236 59 "model": "bio.badge",
bgneal@236 60 "fields": {
bgneal@236 61 "numeric_id": 5,
bgneal@236 62 "image": "badges/shield.png",
bgneal@236 63 "order": 5,
bgneal@236 64 "name": "Security Pin",
bgneal@236 65 "description": "For reporting spam or abuse."
bgneal@236 66 }
bgneal@236 67 },
bgneal@236 68 {
bgneal@236 69 "pk": 1,
bgneal@236 70 "model": "bio.badge",
bgneal@236 71 "fields": {
bgneal@236 72 "numeric_id": 100,
bgneal@236 73 "image": "badges/award_star_bronze_1.png",
bgneal@236 74 "order": 6,
bgneal@236 75 "name": "Bronze Star",
bgneal@236 76 "description": "For service to the site and community."
bgneal@236 77 }
bgneal@236 78 },
bgneal@236 79 {
bgneal@236 80 "pk": 2,
bgneal@236 81 "model": "bio.badge",
bgneal@236 82 "fields": {
bgneal@236 83 "numeric_id": 101,
bgneal@236 84 "image": "badges/award_star_silver_2.png",
bgneal@236 85 "order": 7,
bgneal@236 86 "name": "Silver Star",
bgneal@236 87 "description": "For distinguished and dedicated service to the site and community."
bgneal@236 88 }
bgneal@236 89 },
bgneal@236 90 {
bgneal@236 91 "pk": 3,
bgneal@236 92 "model": "bio.badge",
bgneal@236 93 "fields": {
bgneal@236 94 "numeric_id": 102,
bgneal@236 95 "image": "badges/award_star_gold_3.png",
bgneal@236 96 "order": 8,
bgneal@236 97 "name": "Gold Star",
bgneal@236 98 "description": "For exceptional and meritorious service to the site and community."
bgneal@236 99 }
bgneal@236 100 }
bgneal@236 101 ]