why a nested Serializer run repeatly 4 times #8789
Unanswered
flyly0755
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
send one get api: /api/word/3632/
with debug print log:
17 {"zhe": "\u671d\uff5e", "zhu\u00f3": "\u7a7f\uff5e"} <class 'jsonfield.json.JSONString'>
24 {'zhe': '朝~', 'zhuó': '穿~'} <class 'dict'>
17 {"zhe": "\u671d\uff5e", "zhu\u00f3": "\u7a7f\uff5e"} <class 'jsonfield.json.JSONString'>
24 {'zhe': '朝~', 'zhuó': '穿~'} <class 'dict'>
17 {"zhe": "\u671d\uff5e", "zhu\u00f3": "\u7a7f\uff5e"} <class 'jsonfield.json.JSONString'>
24 {'zhe': '朝~', 'zhuó': '穿~'} <class 'dict'>
17 {"zhe": "\u671d\uff5e", "zhu\u00f3": "\u7a7f\uff5e"} <class 'jsonfield.json.JSONString'>
24 {'zhe': '朝~', 'zhuó': '穿~'} <class 'dict'>
can see code line: print(17, data, type(data)) and print(24, json_data, type(json_data)) respectively run 4 times, why??
Beta Was this translation helpful? Give feedback.
All reactions