tutorial on mongodb and django

82 views
Skip to first unread message

Krishna Neupane

unread,
Dec 10, 2017, 4:34:18 PM12/10/17
to Django users
Hey I am trying to learn Django and wanted to implement it with mongoDB. Are there any pointers where I could learn- anything could help from youtube videoes to tutorials.

Jason

unread,
Dec 11, 2017, 10:36:51 AM12/11/17
to Django users
I would avoid mongo, because Django's ORM is explicitly designed for relations and doesn't translate well to NoSQL DBs.  As an alternative, look into mysql or postgres, with a big recommendation of the latter.

Ruben Alves

unread,
Dec 11, 2017, 4:34:46 PM12/11/17
to Django users
I've seen someone posting here some time ago the Djongo (Django + Mongo): https://github.com/nesdis/djongo

Genzo Vandervelden

unread,
Dec 11, 2017, 5:28:28 PM12/11/17
to Django users
I can't say I have experience in using Django and MongoDB but you can take a look at these:
Note that the last commit was well over 2 years ago so the project isn't likely to be up to date with today's Django.
I don't know the requirements of what you're building but Django works very well with relational databases, if you don't need NoSQL, I suggest using PostgreSQL or similar. Good luck!
Reply all
Reply to author
Forward
0 new messages