Skip to content

Commit 1aa6cf6

Browse files
fix questionaire content type in testdata
1 parent e19c530 commit 1aa6cf6

1 file changed

Lines changed: 16 additions & 64 deletions

File tree

dojo/fixtures/questionnaire_testdata.json

Lines changed: 16 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,4 @@
11
[
2-
{
3-
"fields": {
4-
"model": "question",
5-
"app_label": "dojo"
6-
},
7-
"model": "contenttypes.contenttype",
8-
"pk": 65
9-
},
10-
{
11-
"fields": {
12-
"model": "answer",
13-
"app_label": "dojo"
14-
},
15-
"model": "contenttypes.contenttype",
16-
"pk": 68
17-
},
18-
{
19-
"fields": {
20-
"model": "textquestion",
21-
"app_label": "dojo"
22-
},
23-
"model": "contenttypes.contenttype",
24-
"pk": 66
25-
},
26-
{
27-
"fields": {
28-
"model": "textanswer",
29-
"app_label": "dojo"
30-
},
31-
"model": "contenttypes.contenttype",
32-
"pk": 69
33-
},
34-
{
35-
"fields": {
36-
"model": "choicequestion",
37-
"app_label": "dojo"
38-
},
39-
"model": "contenttypes.contenttype",
40-
"pk": 71
41-
},
42-
{
43-
"fields": {
44-
"model": "choiceanswer",
45-
"app_label": "dojo"
46-
},
47-
"model": "contenttypes.contenttype",
48-
"pk": 70
49-
},
502
{
513
"pk": 1,
524
"model": "auth.user",
@@ -211,7 +163,7 @@
211163
"model": "dojo.question",
212164
"pk": 14,
213165
"fields": {
214-
"polymorphic_ctype": 66,
166+
"polymorphic_ctype": ["dojo", "textquestion"],
215167
"created": "2015-03-30T19:57:22Z",
216168
"modified": "2015-03-30T19:57:22Z",
217169
"order": 1,
@@ -223,7 +175,7 @@
223175
"model": "dojo.question",
224176
"pk": 15,
225177
"fields": {
226-
"polymorphic_ctype": 66,
178+
"polymorphic_ctype": ["dojo", "textquestion"],
227179
"created": "2015-03-30T19:57:34Z",
228180
"modified": "2015-03-30T19:57:34Z",
229181
"order": 1,
@@ -235,7 +187,7 @@
235187
"model": "dojo.question",
236188
"pk": 16,
237189
"fields": {
238-
"polymorphic_ctype": 66,
190+
"polymorphic_ctype": ["dojo", "textquestion"],
239191
"created": "2015-03-30T19:57:55Z",
240192
"modified": "2015-03-30T19:57:55Z",
241193
"order": 1,
@@ -247,7 +199,7 @@
247199
"model": "dojo.question",
248200
"pk": 17,
249201
"fields": {
250-
"polymorphic_ctype": 66,
202+
"polymorphic_ctype": ["dojo", "textquestion"],
251203
"created": "2015-03-30T19:58:36Z",
252204
"modified": "2015-03-30T19:58:36Z",
253205
"order": 1,
@@ -259,7 +211,7 @@
259211
"model": "dojo.question",
260212
"pk": 18,
261213
"fields": {
262-
"polymorphic_ctype": 66,
214+
"polymorphic_ctype": ["dojo", "textquestion"],
263215
"created": "2015-03-30T20:00:35Z",
264216
"modified": "2015-03-30T20:00:35Z",
265217
"order": 1,
@@ -271,7 +223,7 @@
271223
"model": "dojo.question",
272224
"pk": 19,
273225
"fields": {
274-
"polymorphic_ctype": 66,
226+
"polymorphic_ctype": ["dojo", "textquestion"],
275227
"created": "2015-03-30T20:00:46Z",
276228
"modified": "2015-03-30T20:00:46Z",
277229
"order": 1,
@@ -283,7 +235,7 @@
283235
"model": "dojo.question",
284236
"pk": 20,
285237
"fields": {
286-
"polymorphic_ctype": 66,
238+
"polymorphic_ctype": ["dojo", "textquestion"],
287239
"created": "2015-03-30T20:00:58Z",
288240
"modified": "2015-03-30T20:00:58Z",
289241
"order": 1,
@@ -295,7 +247,7 @@
295247
"model": "dojo.question",
296248
"pk": 44,
297249
"fields": {
298-
"polymorphic_ctype": 71,
250+
"polymorphic_ctype": ["dojo", "choicequestion"],
299251
"created": "2023-03-02T17:58:59.698Z",
300252
"modified": "2023-03-02T17:58:59.737Z",
301253
"order": 1,
@@ -458,7 +410,7 @@
458410
"model": "dojo.answer",
459411
"pk": 1,
460412
"fields": {
461-
"polymorphic_ctype": 70,
413+
"polymorphic_ctype": ["dojo", "choiceanswer"],
462414
"created": "2023-03-02T19:07:55.430Z",
463415
"modified": "2023-03-02T19:07:55.447Z",
464416
"question": 44,
@@ -469,7 +421,7 @@
469421
"model": "dojo.answer",
470422
"pk": 2,
471423
"fields": {
472-
"polymorphic_ctype": 69,
424+
"polymorphic_ctype": ["dojo", "textanswer"],
473425
"created": "2023-03-02T19:14:07.816Z",
474426
"modified": "2023-03-02T19:14:07.822Z",
475427
"question": 14,
@@ -480,7 +432,7 @@
480432
"model": "dojo.answer",
481433
"pk": 3,
482434
"fields": {
483-
"polymorphic_ctype": 69,
435+
"polymorphic_ctype": ["dojo", "textanswer"],
484436
"created": "2023-03-02T19:14:07.829Z",
485437
"modified": "2023-03-02T19:14:07.833Z",
486438
"question": 15,
@@ -491,7 +443,7 @@
491443
"model": "dojo.answer",
492444
"pk": 4,
493445
"fields": {
494-
"polymorphic_ctype": 69,
446+
"polymorphic_ctype": ["dojo", "textanswer"],
495447
"created": "2023-03-02T19:14:07.838Z",
496448
"modified": "2023-03-02T19:14:07.841Z",
497449
"question": 16,
@@ -502,7 +454,7 @@
502454
"model": "dojo.answer",
503455
"pk": 5,
504456
"fields": {
505-
"polymorphic_ctype": 69,
457+
"polymorphic_ctype": ["dojo", "textanswer"],
506458
"created": "2023-03-02T19:14:07.845Z",
507459
"modified": "2023-03-02T19:14:07.848Z",
508460
"question": 17,
@@ -513,7 +465,7 @@
513465
"model": "dojo.answer",
514466
"pk": 6,
515467
"fields": {
516-
"polymorphic_ctype": 69,
468+
"polymorphic_ctype": ["dojo", "textanswer"],
517469
"created": "2023-03-02T19:14:07.853Z",
518470
"modified": "2023-03-02T19:14:07.856Z",
519471
"question": 19,
@@ -524,7 +476,7 @@
524476
"model": "dojo.answer",
525477
"pk": 7,
526478
"fields": {
527-
"polymorphic_ctype": 69,
479+
"polymorphic_ctype": ["dojo", "textanswer"],
528480
"created": "2023-03-02T19:14:07.861Z",
529481
"modified": "2023-03-02T19:14:07.864Z",
530482
"question": 20,
@@ -535,7 +487,7 @@
535487
"model": "dojo.answer",
536488
"pk": 8,
537489
"fields": {
538-
"polymorphic_ctype": 69,
490+
"polymorphic_ctype": ["dojo", "textanswer"],
539491
"created": "2023-03-02T19:14:07.868Z",
540492
"modified": "2023-03-02T19:14:07.871Z",
541493
"question": 18,

0 commit comments

Comments
 (0)