質問編集履歴
1
「上記の文字列がそのまま表示されています。」を追記。事例について、どのモデルのどこに格納されているかを追記。
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
```
|
|
67
67
|
[{"model": "test.type", "pk": 1, "fields": {"language": 2, "name": "sampleA"}}, {"model": "test.type", "pk": 2, "fields": {"language": 2, "name": "sampleB"}}, {"model": "test.type", "pk": 3, "fields": {"language": 2, "name": "sampleC"}}]
|
|
68
68
|
```
|
|
69
|
-
という文字列を表示する所まではできました。。
|
|
69
|
+
という文字列を表示する所まではできました。上記の文字列がそのまま表示されています。
|
|
70
70
|
|
|
71
|
-
sampleA
|
|
71
|
+
sampleA → Typeモデルのnameに格納
|
|
72
|
-
'英語'
|
|
72
|
+
'英語' → Languageモデルのlanguage_nameに格納
|
|
73
73
|
|
|
74
74
|
sampleB
|
|
75
75
|
'英語'
|