Комментарии:
Great tutorial, thanks very much! Since mlabs has been retired Mongo Atlas requires "mongodb+srv..." connection method. So you must install dnspython module to avoid a connection error. Simply use "python -m pip install "pymongo[srv]" and all is well again. Sorry - 2 years late to the party!
ОтветитьI am running these file in atom, running successfully but unable to get localhost url
ОтветитьI'm getting 'MONGO_URI' is not defined as an error, any solutions?
ОтветитьThanks for the video!! is not easy to find a professional and simple way to setup flask and pymongo and it really helped me
Ответитьwhy blueprint is needed?
ОтветитьYou made your life easier by modularizing the code but it's confusing for a tutorial.
ОтветитьAnthony, I love your tutorials, also the flask one on Udemy. Some of the material there looks a bit dated, could you please consider having a Flask-Mongo-Heroku unit added with the newer technology available? It would be great to see how you do this, including a register/login/logout part and interacting with the database in some way. Thanks!
Ответитьi have import flask but when i run it.The system have bug :{
"resource": "/c:/Users/nhatn/OneDrive/Desktop/fask-pymongo/pymongtool/__init_.py",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "unresolved-import",
"severity": 4,
"message": "unresolved import 'flask'",
"source": "Python",
"startLineNumber": 2,
"startColumn": 6,
"endLineNumber": 2,
"endColumn": 11
}
I have no idea what you're talking about.:D
ОтветитьPuto ipm xddd
ОтветитьHello, can we not download MongoDB and use it instead of using the cloud database.
ОтветитьThis is the most difficult way I've ever seen pymongo set up.
ОтветитьI tried connecting mongoalchemy with atlas but it doesn't accept the uri from atlas. Is there a solution for this?
ОтветитьI noticed pipenv takes much longer than bare pip to install basic requirements. I know it makes a lot of other stuff as well, but still, the wait can get pretty annoying over time.
ОтветитьHi! Thanks for the informative video. I was wondering if you had planned on making an extension to include the rest of CRUD?
Ответитьproblem I get a message No module named '__main__.extensions' ? any help welcomed
Ответить