[英]Django and mongodb
Any good tutorial for python django mongodb? python django mongodb有什么好的教程吗?
I have python 3.7.3 installed. 我已经安装了python 3.7.3。 I grabbed django 1.6 from https://github.com/django-nonrel/django (that's really old). 我从https://github.com/django-nonrel/django抓取了django 1.6(这确实很旧)。 Followed the instruction of https://django-mongodb-engine.readthedocs.io/en/latest/topics/setup.html 遵循https://django-mongodb-engine.readthedocs.io/en/latest/topics/setup.html的说明
The "python manager.py runserver" show some htmlparser errors. “ python manager.py运行服务器”显示一些htmlparser错误。
File "D:\\apps\\Python37\\lib\\site-packages\\django\\utils\\html.py", line 14, in from .html_parser import HTMLParser, HTMLParseError File "D:\\apps\\Python37\\lib\\site-packages\\django\\utils\\html_parser.py", line 12, in HTMLParseError = _html_parser.HTMLParseError AttributeError: module 'html.parser' has no attribute 'HTMLParseError' 从“ .html_parser”导入文件“ D:\\ apps \\ Python37 \\ lib \\ site-packages \\ django \\ utils \\ html.py”,HTMLParser,HTMLParseError文件“ D:\\ apps \\ Python37 \\ lib \\ site-packages \\ django \\ utils \\ html_parser.py”,第12行,在HTMLParseError = _html_parser.HTMLParseError AttributeError:模块'html.parser'没有属性'HTMLParseError'
Any recommendations to have them work together? 有什么建议可以让他们一起工作吗?
The django-norel was really old and still come out from google radar. django-norel确实很老,仍然来自Google雷达。
Thanks for the advice. 谢谢你的建议。 Now, I can get it work with "djongo". 现在,我可以将其与“ djongo”一起使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.