1👍
✅
I don’t understand why you want you use syncdb for this. That’s really for creating tables. If all you’re doing is loading a fixture, why don’t you do that directly? You can use django.core.serializers
to parse and load your JSON file (and I’d recommend calling it something other than initial_data).
Source:stackexchange.com