我无法让Django项目正确地加载数据库。它会抛出这个错误。我使用Django运行MariaDB,并卸载了所有的MySQLcreate database foo_db;django.db.utils.OperationalError: (1045, "Access denied for user '<user&
我正在尝试在django works的Python2.7virtualenv中安装Djando,而不是MySQL-python:的OpenSuse 15.0安装。pip install MySQL-python
Using cached https://files.pythonhosted.org/packagesfor collected packages: MySQL-python
Building wheel f
Django已配置并正在运行,apache也已配置mod-wsgi模块。我创建了一个django项目和一个应用程序(目前还没有模型)。Elasticsearch也在运行,但还没有任何初始化。/dist-packages/django/contrib/admin/forms.py", line 6, in <module>
from django.contrib.auth.formsTry using 'django.