annotate bio/fixtures/badges.json @ 887:9a15f7c27526

Actually save model object upon change. This commit was tested on the comments model. Additional logging added. Added check for Markdown image references. Added TODOs after observing behavior on comments.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 Feb 2015 21:09:44 -0600
parents ee87ea74d46b
children
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@400 69 "pk": 10,
bgneal@400 70 "model": "bio.badge",
bgneal@400 71 "fields": {
bgneal@400 72 "numeric_id": 6,
bgneal@400 73 "image": "badges/camera.png",
bgneal@400 74 "order": 6,
bgneal@400 75 "name": "POTD Pin",
bgneal@400 76 "description": "For submitting a photo of the day."
bgneal@400 77 }
bgneal@400 78 },
bgneal@400 79 {
bgneal@236 80 "pk": 1,
bgneal@236 81 "model": "bio.badge",
bgneal@236 82 "fields": {
bgneal@236 83 "numeric_id": 100,
bgneal@236 84 "image": "badges/award_star_bronze_1.png",
bgneal@400 85 "order": 7,
bgneal@236 86 "name": "Bronze Star",
bgneal@236 87 "description": "For service to the site and community."
bgneal@236 88 }
bgneal@236 89 },
bgneal@236 90 {
bgneal@236 91 "pk": 2,
bgneal@236 92 "model": "bio.badge",
bgneal@236 93 "fields": {
bgneal@236 94 "numeric_id": 101,
bgneal@236 95 "image": "badges/award_star_silver_2.png",
bgneal@400 96 "order": 8,
bgneal@236 97 "name": "Silver Star",
bgneal@236 98 "description": "For distinguished and dedicated service to the site and community."
bgneal@236 99 }
bgneal@236 100 },
bgneal@236 101 {
bgneal@236 102 "pk": 3,
bgneal@236 103 "model": "bio.badge",
bgneal@236 104 "fields": {
bgneal@236 105 "numeric_id": 102,
bgneal@236 106 "image": "badges/award_star_gold_3.png",
bgneal@400 107 "order": 9,
bgneal@236 108 "name": "Gold Star",
bgneal@236 109 "description": "For exceptional and meritorious service to the site and community."
bgneal@236 110 }
bgneal@236 111 }
bgneal@236 112 ]