Hi Bbake,
Django Class Based Views and Models are wired for relational databases only. If you want to use MongoDB with django you have to say bye bye to CBV and Django ORM. There are some third party libraries to map django models to mongo, but IDK how good they are for production use.
One way to solve this problem is use Function Based Views for views where MongoDB will be used.
You will have to access mongo db using a database driver like pymongo.
If you just need to store the json data, another way to solve this problem is to use django and postgres database.
PostgreSQL has JSON field, django also supports that. Check the official documents for more info.
If you find any more solutions, please let me know, as I also want to explore the options of using mongo with django.
Thanks in advance.
Regards,
Chetan Ganji
+91-900-483-4183