| author | raph |
| Mon, 12 Jul 2010 16:37:32 +0200 | |
| changeset 289 | 285e67006eb0 |
| parent 287 | fc5ed157ebfe |
| child 293 | 2c52e4453bf7 |
| permissions | -rw-r--r-- |
| 0 | 1 |
# generic_roles should be loaded first |
2 |
||
3 |
############### users ############### |
|
4 |
# user1 |
|
5 |
||
6 |
- model : auth.user |
|
7 |
pk: 1 |
|
8 |
fields: |
|
9 |
username: user1 |
|
10 |
email: user1@here.dja |
|
11 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
12 |
|
|
13 |
- model : cm.userprofile |
|
14 |
pk: 1 |
|
15 |
fields: |
|
16 |
user: 1 |
|
17 |
key: "up_key_1" |
|
18 |
adminkey: "up_adminkey_1" |
|
| 28 | 19 |
created: "2009-02-13 04:01:12" |
| 0 | 20 |
|
21 |
# user2 |
|
22 |
||
23 |
- model : auth.user |
|
24 |
pk: 2 |
|
25 |
fields: |
|
26 |
username: user2 |
|
27 |
email: user2@here.dja |
|
28 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
29 |
||
30 |
- model : cm.userprofile |
|
31 |
pk: 2 |
|
32 |
fields: |
|
33 |
user: 2 |
|
34 |
key: "up_key_2" |
|
35 |
adminkey: "up_adminkey_2" |
|
| 28 | 36 |
created: "2009-02-13 04:01:12" |
| 0 | 37 |
|
38 |
# user3 |
|
39 |
||
40 |
- model : auth.user |
|
41 |
pk: 3 |
|
42 |
fields: |
|
43 |
username: user3 |
|
44 |
email: user3@here.dja |
|
45 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
46 |
||
47 |
- model : cm.userprofile |
|
48 |
pk: 3 |
|
49 |
fields: |
|
50 |
user: 3 |
|
51 |
key: "up_key_3" |
|
52 |
adminkey: "up_adminkey_3" |
|
| 28 | 53 |
created: "2009-02-13 04:01:12" |
| 0 | 54 |
|
55 |
# user4 |
|
56 |
||
57 |
- model : auth.user |
|
58 |
pk: 4 |
|
59 |
fields: |
|
60 |
username: user4 |
|
61 |
email: user4@here.dja |
|
62 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
63 |
||
64 |
- model : cm.userprofile |
|
65 |
pk: 4 |
|
66 |
fields: |
|
67 |
user: 4 |
|
68 |
key: "up_key_4" |
|
69 |
adminkey: "up_adminkey_4" |
|
| 28 | 70 |
created: "2009-02-13 04:01:12" |
| 0 | 71 |
|
72 |
# user5 |
|
73 |
||
74 |
- model : auth.user |
|
75 |
pk: 5 |
|
76 |
fields: |
|
77 |
is_active: False |
|
78 |
username: user5 |
|
79 |
email: user5@here.dja |
|
80 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
81 |
||
82 |
- model : cm.userprofile |
|
83 |
pk: 5 |
|
84 |
fields: |
|
85 |
user: 5 |
|
86 |
key: "up_key_5" |
|
87 |
adminkey: "up_adminkey_5" |
|
| 28 | 88 |
created: "2009-02-13 04:01:12" |
| 0 | 89 |
|
90 |
# user6: pending user |
|
91 |
||
92 |
- model : auth.user |
|
93 |
pk: 6 |
|
94 |
fields: |
|
95 |
is_active: False |
|
96 |
username: user6 |
|
97 |
email: user6@here.dja |
|
98 |
password: sha1$6efc5$cf1468825cd79fd2d6ddaf97738c8666053af349 |
|
99 |
||
100 |
- model : cm.userprofile |
|
101 |
pk: 6 |
|
102 |
fields: |
|
103 |
user: 6 |
|
104 |
key: "up_key_6" |
|
105 |
adminkey: "up_adminkey_6" |
|
106 |
is_suspended: True |
|
| 28 | 107 |
created: "2009-02-13 04:01:12" |
| 0 | 108 |
|
109 |
############### texts ############### |
|
110 |
||
111 |
# text 1 |
|
112 |
- model : cm.textversion |
|
113 |
pk: 1 |
|
114 |
fields: |
|
115 |
created: "2009-02-13 04:01:12" |
|
116 |
modified: "2009-02-13 04:01:12" |
|
117 |
title: 'title 1, aposteriori moderation' |
|
118 |
format: 'markdown' |
|
119 |
content: 'aaa bbb ccc ddd eee fff ggg' |
|
120 |
text: 1 |
|
121 |
mod_posteriori: True |
|
| 24 | 122 |
key: "textversion_key_1" |
123 |
adminkey: "tv_adminkey_1" |
|
124 |
|
|
| 0 | 125 |
- model : cm.text |
126 |
pk: 1 |
|
127 |
fields: |
|
128 |
created: "2009-02-13 04:01:12" |
|
129 |
modified: "2009-02-13 04:01:12" |
|
130 |
last_text_version: 1 |
|
131 |
title: 'title 1' |
|
132 |
state: "approved" |
|
133 |
key: "text_key_1" |
|
134 |
adminkey: "text_adminkey_1" |
|
135 |
user: 1 |
|
136 |
||
137 |
# text 2 |
|
138 |
- model : cm.textversion |
|
139 |
pk: 2 |
|
140 |
fields: |
|
141 |
created: "2009-02-13 04:01:12" |
|
142 |
modified: "2009-02-13 04:01:12" |
|
143 |
title: 'title 2, apriori moderation' |
|
144 |
format: 'markdown' |
|
145 |
content: 'aaa bbb ccc ddd eee fff ggg' |
|
146 |
text: 2 |
|
147 |
mod_posteriori: False |
|
| 24 | 148 |
key: "textversion_key_2" |
149 |
adminkey: "tv_adminkey_2" |
|
| 0 | 150 |
|
151 |
- model : cm.text |
|
152 |
pk: 2 |
|
153 |
fields: |
|
154 |
created: "2009-02-13 04:01:12" |
|
155 |
modified: "2009-02-13 04:01:12" |
|
156 |
last_text_version: 2 |
|
157 |
title: 'title 2' |
|
158 |
state: "approved" |
|
159 |
key: "text_key_2" |
|
160 |
adminkey: "text_adminkey_2" |
|
161 |
user: 1 |
|
162 |
|
|
163 |
# text 3 |
|
164 |
- model : cm.textversion |
|
165 |
pk: 3 |
|
166 |
fields: |
|
167 |
created: "2009-02-13 04:01:12" |
|
168 |
modified: "2009-02-13 04:01:12" |
|
169 |
title: 'title 3' |
|
170 |
format: 'markdown' |
|
171 |
content: 'aaa bbb ccc ddd eee fff ggg |
|
172 |
|
|
173 |
|
|
174 |
long text |
|
175 |
|
|
176 |
|
|
177 |
long text |
|
178 |
|
|
179 |
|
|
180 |
long text |
|
181 |
|
|
182 |
|
|
183 |
long text |
|
184 |
|
|
185 |
|
|
186 |
long text |
|
187 |
|
|
188 |
|
|
189 |
long text |
|
190 |
|
|
191 |
|
|
192 |
long text |
|
193 |
|
|
194 |
|
|
195 |
long text |
|
196 |
|
|
197 |
|
|
198 |
long text |
|
199 |
|
|
200 |
|
|
201 |
long text |
|
202 |
|
|
203 |
|
|
204 |
long text |
|
205 |
|
|
206 |
|
|
207 |
long text |
|
208 |
|
|
209 |
|
|
210 |
long text |
|
211 |
|
|
212 |
|
|
213 |
long text |
|
214 |
|
|
215 |
|
|
216 |
long text |
|
217 |
|
|
218 |
|
|
219 |
long text |
|
220 |
|
|
221 |
|
|
222 |
long text |
|
223 |
|
|
224 |
|
|
225 |
long text |
|
226 |
|
|
227 |
|
|
228 |
long text |
|
229 |
|
|
230 |
|
|
231 |
long text |
|
232 |
|
|
233 |
|
|
234 |
long text |
|
235 |
|
|
236 |
|
|
237 |
long text |
|
238 |
|
|
239 |
|
|
240 |
long text |
|
241 |
|
|
242 |
|
|
243 |
long text |
|
244 |
|
|
245 |
|
|
246 |
long text |
|
247 |
|
|
248 |
|
|
249 |
long text |
|
250 |
|
|
251 |
|
|
252 |
long text |
|
253 |
|
|
254 |
|
|
255 |
long text |
|
256 |
|
|
257 |
|
|
258 |
long text |
|
259 |
|
|
260 |
|
|
261 |
long text |
|
262 |
|
|
263 |
|
|
264 |
long text |
|
265 |
|
|
266 |
|
|
267 |
long text |
|
268 |
|
|
269 |
|
|
270 |
long text |
|
271 |
|
|
272 |
|
|
273 |
long text |
|
274 |
|
|
275 |
|
|
276 |
long text |
|
277 |
|
|
278 |
|
|
279 |
long text |
|
280 |
|
|
281 |
|
|
282 |
long text |
|
283 |
|
|
284 |
|
|
285 |
long text |
|
286 |
|
|
287 |
|
|
288 |
long text |
|
289 |
|
|
290 |
|
|
291 |
long text |
|
292 |
|
|
293 |
|
|
294 |
long text |
|
295 |
|
|
296 |
|
|
297 |
long text |
|
298 |
|
|
299 |
|
|
300 |
long text |
|
301 |
|
|
302 |
|
|
303 |
long text |
|
304 |
|
|
305 |
|
|
306 |
long text |
|
307 |
|
|
308 |
|
|
309 |
long text |
|
310 |
|
|
311 |
|
|
312 |
long text |
|
313 |
|
|
314 |
|
|
315 |
long text |
|
316 |
|
|
317 |
|
|
318 |
long text |
|
319 |
|
|
320 |
|
|
321 |
long text |
|
322 |
|
|
323 |
|
|
324 |
long text |
|
325 |
|
|
326 |
|
|
327 |
long text |
|
328 |
|
|
329 |
|
|
330 |
long text |
|
331 |
|
|
332 |
|
|
333 |
long text |
|
334 |
|
|
335 |
|
|
336 |
long text |
|
337 |
|
|
338 |
|
|
339 |
long text |
|
340 |
|
|
341 |
|
|
342 |
long text |
|
343 |
|
|
344 |
|
|
345 |
long text' |
|
346 |
text: 3 |
|
| 24 | 347 |
key: "textversion_key_3" |
348 |
adminkey: "tv_adminkey_3" |
|
349 |
|
|
| 0 | 350 |
|
351 |
- model : cm.text |
|
352 |
pk: 3 |
|
353 |
fields: |
|
354 |
created: "2009-02-13 04:01:12" |
|
355 |
modified: "2009-02-13 04:01:12" |
|
356 |
last_text_version: 3 |
|
357 |
title: 'title 3' |
|
358 |
state: "approved" |
|
359 |
key: "text_key_3" |
|
360 |
adminkey: "text_adminkey_3" |
|
361 |
user: 2 |
|
362 |
||
|
287
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
363 |
# text 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
364 |
- model : cm.textversion |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
365 |
pk: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
366 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
367 |
created: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
368 |
modified: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
369 |
title: 'title 4, public text' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
370 |
format: 'markdown' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
371 |
content: 'aaa bbb ccc ddd eee fff ggg' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
372 |
text: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
373 |
mod_posteriori: True |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
374 |
key: "textversion_key_4" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
375 |
adminkey: "tv_adminkey_4" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
376 |
|
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
377 |
- model : cm.text |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
378 |
pk: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
379 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
380 |
created: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
381 |
modified: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
382 |
last_text_version: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
383 |
title: 'title 4, public text' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
384 |
state: "approved" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
385 |
key: "text_key_4" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
386 |
adminkey: "text_adminkey_4" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
387 |
user: 1 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
388 |
|
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
389 |
# text 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
390 |
- model : cm.textversion |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
391 |
pk: 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
392 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
393 |
created: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
394 |
modified: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
395 |
title: 'title 5, public text' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
396 |
format: 'markdown' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
397 |
content: 'aaa bbb ccc ddd eee fff ggg' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
398 |
text: 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
399 |
mod_posteriori: True |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
400 |
key: "textversion_key_5" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
401 |
adminkey: "tv_adminkey_5" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
402 |
|
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
403 |
- model : cm.text |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
404 |
pk: 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
405 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
406 |
created: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
407 |
modified: "2009-02-13 04:01:12" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
408 |
last_text_version: 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
409 |
title: 'title 5, public text' |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
410 |
state: "approved" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
411 |
key: "text_key_5" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
412 |
adminkey: "text_adminkey_5" |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
413 |
user: 1 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
414 |
|
| 0 | 415 |
############### userrole ############### |
416 |
||
417 |
# user 1 is global Manager |
|
418 |
# userrole 1 |
|
419 |
- model : cm.userrole |
|
420 |
pk: 1 |
|
421 |
fields: |
|
422 |
role: 1 |
|
423 |
user: 1 |
|
424 |
text: null |
|
425 |
|
|
426 |
# user 2 is Editor on text 2 |
|
427 |
# userrole 2 |
|
428 |
- model : cm.userrole |
|
429 |
pk: 2 |
|
430 |
fields: |
|
431 |
role: 1 |
|
432 |
user: 2 |
|
433 |
text: 2 |
|
434 |
||
435 |
# user 2 is Commentator on text 3 |
|
436 |
# userrole 3 |
|
437 |
- model : cm.userrole |
|
438 |
pk: 3 |
|
439 |
fields: |
|
440 |
role: 4 |
|
441 |
user: 2 |
|
442 |
text: 3 |
|
443 |
||
444 |
# user 3 is Commentator on text 2 |
|
445 |
# userrole 4 |
|
446 |
- model : cm.userrole |
|
447 |
pk: 4 |
|
448 |
fields: |
|
449 |
role: 4 |
|
450 |
user: 3 |
|
451 |
text: 2 |
|
452 |
||
453 |
# user 3 is Observer on text 3 |
|
454 |
# userrole 5 : |
|
455 |
- model : cm.userrole |
|
456 |
pk: 5 |
|
457 |
fields: |
|
458 |
role: 5 |
|
459 |
user: 3 |
|
460 |
text: 3 |
|
461 |
||
462 |
# user 4 is global Manager |
|
463 |
# userrole 6 |
|
464 |
- model : cm.userrole |
|
465 |
pk: 6 |
|
466 |
fields: |
|
467 |
role: 1 |
|
468 |
user: 4 |
|
469 |
text: null |
|
470 |
|
|
471 |
||
472 |
# user 4 is Commentator on text 2 (downgrade from global Manager) |
|
473 |
# userrole 7 |
|
474 |
- model : cm.userrole |
|
475 |
pk: 7 |
|
476 |
fields: |
|
477 |
role: 4 |
|
478 |
user: 4 |
|
479 |
text: 2 |
|
480 |
||
|
287
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
481 |
# user null (anon is Commentator on text 4) |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
482 |
# userrole 8 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
483 |
- model : cm.userrole |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
484 |
pk: 8 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
485 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
486 |
role: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
487 |
user: null |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
488 |
text: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
489 |
|
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
490 |
# user null (anon is Commentator on text 5) |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
491 |
# userrole 9 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
492 |
- model : cm.userrole |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
493 |
pk: 9 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
494 |
fields: |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
495 |
role: 4 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
496 |
user: null |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
497 |
text: 5 |
|
fc5ed157ebfe
add api: basic auth / unit tests / online doc (based on django-piston)
raph
parents:
144
diff
changeset
|
498 |
|
| 0 | 499 |
############### comment ############### |
500 |
||
501 |
# comment 1 (visible on text 2) |
|
502 |
- model : cm.comment |
|
503 |
pk: 1 |
|
504 |
fields: |
|
505 |
created: "2009-02-13 04:01:12" |
|
506 |
modified: "2009-02-13 04:01:12" |
|
507 |
start_wrapper: 0 |
|
508 |
end_wrapper: 0 |
|
509 |
start_offset: 1 |
|
510 |
end_offset: 11 |
|
511 |
title: "comment 1" |
|
512 |
content: "comment 1 content" |
|
| 144 | 513 |
content_html: "<p>comment 1 content, this <a href='http://localhost:8000/text/text_key_2/view/?comment_id_key=comment_id_key_4'>link</a> is a link to another comment, and <a href='http://www.lemonde.fr'>this one</a> is a link to lemonde</sp></p>" |
| 0 | 514 |
key: "comment_key_1" |
| 144 | 515 |
id_key: "comment_id_key_1" |
| 0 | 516 |
adminkey: "comment_adminkey_1" |
517 |
reply_to: null |
|
518 |
user: 1 |
|
519 |
state: "approved" |
|
520 |
text_version: 2 |
|
521 |
||
522 |
# comment 2 (visible on text 2) |
|
523 |
- model : cm.comment |
|
524 |
pk: 2 |
|
525 |
fields: |
|
526 |
created: "2009-02-13 04:01:13" |
|
527 |
modified: "2009-02-13 04:01:13" |
|
528 |
start_wrapper: 0 |
|
529 |
end_wrapper: 0 |
|
530 |
start_offset: 1 |
|
531 |
end_offset: 11 |
|
532 |
title: "comment 2" |
|
533 |
content: "comment 2 content" |
|
534 |
content_html: "<p>comment 2 content</p>" |
|
535 |
key: "comment_key_2" |
|
| 144 | 536 |
id_key: "comment_id_key_2" |
| 0 | 537 |
adminkey: "comment_adminkey_2" |
538 |
reply_to: null |
|
539 |
user: 1 |
|
540 |
state: "approved" |
|
541 |
text_version: 2 |
|
542 |
||
543 |
# comment 3 (NOT visible on text 2) |
|
544 |
- model : cm.comment |
|
545 |
pk: 3 |
|
546 |
fields: |
|
547 |
created: "2009-02-13 04:01:13" |
|
548 |
modified: "2009-02-13 04:01:13" |
|
549 |
start_wrapper: 0 |
|
550 |
end_wrapper: 0 |
|
551 |
start_offset: 1 |
|
552 |
end_offset: 11 |
|
553 |
title: "comment 3" |
|
554 |
content: "comment 3 content" |
|
555 |
content_html: "<p>comment 3 content</p>" |
|
556 |
key: "comment_key_3" |
|
| 144 | 557 |
id_key: "comment_id_key_3" |
| 0 | 558 |
adminkey: "comment_adminkey_3" |
559 |
reply_to: null |
|
560 |
user: 1 |
|
561 |
state: "pending" |
|
562 |
text_version: 2 |
|
563 |
||
564 |
# comment 4 (visible BUT child of comment 3 (NOT visible)) |
|
565 |
- model : cm.comment |
|
566 |
pk: 4 |
|
567 |
fields: |
|
568 |
created: "2009-02-13 04:01:13" |
|
569 |
modified: "2009-02-13 04:01:13" |
|
570 |
title: "comment 4" |
|
571 |
content: "comment 4 content" |
|
572 |
content_html: "<p>comment 4 content</p>" |
|
573 |
key: "comment_key_4" |
|
| 144 | 574 |
id_key: "comment_id_key_4" |
| 0 | 575 |
adminkey: "comment_adminkey_4" |
576 |
reply_to: 3 |
|
577 |
user: 1 |
|
578 |
state: "approved" |
|
579 |
text_version: 2 |
|
580 |
||
581 |
############### activity ############### |
|
582 |
- model : cm.activity |
|
583 |
pk: 1 |
|
584 |
fields: |
|
585 |
created: "2009-01-13 04:01:13" |
|
586 |
text: 1 |
|
587 |
originator_user: 1 |
|
588 |
type: 'text_view' |
|
589 |
||
590 |
- model : cm.activity |
|
591 |
pk: 2 |
|
592 |
fields: |
|
593 |
created: "2009-01-13 04:31:13" |
|
594 |
text: 1 |
|
595 |
originator_user: 1 |
|
596 |
type: 'text_view' |
|
597 |
|
|
598 |
- model : cm.activity |
|
599 |
pk: 3 |
|
600 |
fields: |
|
601 |
created: "2009-01-02 04:31:13" |
|
602 |
text: 1 |
|
603 |
originator_user: 1 |
|
604 |
type: 'text_view' |
|
605 |
||
606 |
|
|
607 |
- model : cm.activity |
|
608 |
pk: 4 |
|
609 |
fields: |
|
610 |
created: "2009-01-31 04:31:13" |
|
611 |
text: 1 |
|
612 |
originator_user: 1 |
|
613 |
type: 'text_view' |
|
614 |
||
615 |
||
616 |
|