Django + MongoDB

59 views
Skip to first unread message

Akshat Gupta

unread,
Jul 23, 2020, 9:39:12 AM7/23/20
to Django users
Hello,

Ok, first of all, I think Django is really built for Relational databases. Django ORM fits and works really well for RDBMS. However, the app which I am building requires MongoDB as a database. I really tried but all my application needs require MongoDB.

So I want to use Django for MongoDB (a bad decision I know), but I think I can make it work with Django.

So to efficiently build a Django app with mongo backend database I need these things in the library which will help in dealing with mongo --> 

a) User authentication and authorization
b) Model schema should be well supported (embeddedDocumentField, ReferenceField,    etc)
c) Admin dashboard should be supported
d) Rest Framework APIs should be supported

I looked into mongoengine, djongo. However, since this is my first time using Mongo with Django, I would require expert advice if anyone has used Mongo with django before and can guide me with the libraries he/she used which satisfied all the requirements above.

Thanks and Regards
 

Anh Nguyen

unread,
Jul 23, 2020, 12:01:37 PM7/23/20
to django...@googlegroups.com
Nightmares 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8903922a-3978-4730-ae04-81480214928cn%40googlegroups.com.

yaamoussa-solution

unread,
Sep 26, 2020, 8:59:44 PM9/26/20
to django...@googlegroups.com
yes you use this tuto https://bezkoder.com/django-mongodb-crud-rest-framework/.don't forget  mlabmongo module is changed for atlas mongo .you can visite this url :https://devcenter.heroku.com/changelog-items/1823

Reply all
Reply to author
Forward
0 new messages