70 | | [ |
71 | | { |
72 | | "pk": "1", |
73 | | "model": "se.poll", |
74 | | "fields": { |
75 | | "pub_date": "2007-06-06 11:23:42", |
76 | | "question": "What is your favorite color?" |
77 | | } |
78 | | }, |
79 | | { |
80 | | "pk": "2", |
81 | | "model": "se.poll", |
82 | | "fields": { |
83 | | "pub_date": "2007-06-06 11:24:17", |
84 | | "question": "What's your favorite web framework?" |
85 | | } |
86 | | }, |
87 | | { |
88 | | "pk": "1", |
89 | | "model": "se.choice", |
90 | | "fields": { |
91 | | "votes": 5, |
92 | | "poll": 1, |
93 | | "choice": "Red" |
94 | | } |
95 | | }, |
96 | | { |
97 | | "pk": "2", |
98 | | "model": "se.choice", |
99 | | "fields": { |
100 | | "votes": 1, |
101 | | "poll": 1, |
102 | | "choice": "Blue" |
103 | | } |
104 | | }, |
105 | | { |
106 | | "pk": "3", |
107 | | "model": "se.choice", |
108 | | "fields": { |
109 | | "votes": 3, |
110 | | "poll": 1, |
111 | | "choice": "Pink... no, yellow..." |
112 | | } |
113 | | }, |
114 | | { |
115 | | "pk": "4", |
116 | | "model": "se.choice", |
117 | | "fields": { |
118 | | "votes": 1000000, |
119 | | "poll": 2, |
120 | | "choice": "Django" |
121 | | } |
122 | | }, |
123 | | { |
124 | | "pk": "5", |
125 | | "model": "se.choice", |
126 | | "fields": { |
127 | | "votes": 0, |
128 | | "poll": 2, |
129 | | "choice": "Rails" |
130 | | } |
131 | | } |
132 | | ] |
| 70 | #!javascript |
| 71 | [ |
| 72 | { |
| 73 | "pk": "1", |
| 74 | "model": "se.poll", |
| 75 | "fields": { |
| 76 | "pub_date": "2007-06-06 11:23:42", |
| 77 | "question": "What is your favorite color?" |
| 78 | } |
| 79 | }, |
| 80 | { |
| 81 | "pk": "2", |
| 82 | "model": "se.poll", |
| 83 | "fields": { |
| 84 | "pub_date": "2007-06-06 11:24:17", |
| 85 | "question": "What's your favorite web framework?" |
| 86 | } |
| 87 | }, |
| 88 | { |
| 89 | "pk": "1", |
| 90 | "model": "se.choice", |
| 91 | "fields": { |
| 92 | "votes": 5, |
| 93 | "poll": 1, |
| 94 | "choice": "Red" |
| 95 | } |
| 96 | }, |
| 97 | { |
| 98 | "pk": "2", |
| 99 | "model": "se.choice", |
| 100 | "fields": { |
| 101 | "votes": 1, |
| 102 | "poll": 1, |
| 103 | "choice": "Blue" |
| 104 | } |
| 105 | }, |
| 106 | { |
| 107 | "pk": "3", |
| 108 | "model": "se.choice", |
| 109 | "fields": { |
| 110 | "votes": 3, |
| 111 | "poll": 1, |
| 112 | "choice": "Pink... no, yellow..." |
| 113 | } |
| 114 | }, |
| 115 | { |
| 116 | "pk": "4", |
| 117 | "model": "se.choice", |
| 118 | "fields": { |
| 119 | "votes": 1000000, |
| 120 | "poll": 2, |
| 121 | "choice": "Django" |
| 122 | } |
| 123 | }, |
| 124 | { |
| 125 | "pk": "5", |
| 126 | "model": "se.choice", |
| 127 | "fields": { |
| 128 | "votes": 0, |
| 129 | "poll": 2, |
| 130 | "choice": "Rails" |
| 131 | } |
| 132 | } |
| 133 | ] |