Not able to connect mongo DB with django2.1

58 views
Skip to first unread message

akshat ahuja

unread,
Sep 17, 2018, 7:16:59 AM9/17/18
to django...@googlegroups.com
Hey guys,
I am a beginner to Django and I am making an application in which I have to connect to MongoDB to retrieve data,, But I am not able to connect to MongoDB, can someone please help me?

Regards,
Akshat Ahuja

Tosin Ayoola

unread,
Sep 17, 2018, 8:23:43 AM9/17/18
to django...@googlegroups.com
hw fa guyz I'm working on a project that request that i used form wizard subclass to create a view now d issues im getting is that i can't use the subclass to create a url pattern to access the form, so who kinda knw a way around this

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPaL-tfACSpraKUo2b8hLMvqmGrktMa9R0xkSRrQSy3iNdCWrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin SOULAS

unread,
Sep 19, 2018, 3:17:11 AM9/19/18
to Django users
Hi Akshat,

Could you be more specific? Do you have some code to provide to us in order to help you? Do you have errors?

Pymongo is a good lib if you intend not to use the Django ORM, if you want to use the ORM, Djongo exists, or others ODMs

Kind regards,

Benjamin

Alfredo Sumague

unread,
Sep 19, 2018, 11:34:41 PM9/19/18
to django...@googlegroups.com
The latest django version you can use for mongodb is 1.6
Flask another framework you use instead of Django, and it support mongodb.

--
Reply all
Reply to author
Forward
0 new messages