2๐
โ
So I figured out my own issue. Iโm new to mongo so I thought that it would work the same way as sqlalchemy where a sqlite DB would be automatically created in the pythonanywhere platform, which is not the case.
For everyone using pythonanywhere together with mongo for their first time, make sure you get an external service (I am using MongoLab on Amazon AWS). Once you have set up a database, you can connect to it by providing the right MongoDB URI in the mongoengine.connect function.
๐คno8do
1๐
Pymongo 3.0 and above versions have this problem.you should first uninstall latest version and then install python-pymongo==2.8.1
๐คUdit Kumawat
- [Django]-Passing an object in every Django page
- [Django]-Editable choice field/drop down box in Django forms
- [Django]-Django.db.utils.DataError: numeric field overflow โ django
- [Django]-Can I run a background process in Django without starting a parallel process?
- [Django]-Query on manyToMany field with related_name
0๐
Make sure that mongodb is up and running.
service mongod status
service mongod start (on ubuntu)
๐คSaeed Farzian
- [Django]-Deceptive site ahead google chrome when i tried to open the ngrok url
- [Django]-Iterating through all foreign key related children of an abstract django model
Source:stackexchange.com