Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runserver报表不存在 #1

Open
chongqingzhubajie opened this issue Jan 21, 2019 · 3 comments
Open

runserver报表不存在 #1

chongqingzhubajie opened this issue Jan 21, 2019 · 3 comments

Comments

@chongqingzhubajie
Copy link

image
image

runserver 报这个错,求解决方法,谢谢。

@youxuguang
Copy link

@chongqingzhubajie
在demo/password/password/目录下创建migrations,然后在新建的migrations目录下创建一个__init__.py空文件,然后再python manage.py makemigrations ,python manage.py migrate,python manage.py runserver 0.0.0.0:80
qq 20190123175529

@BigYoungs
Copy link

@chongqingzhubajie
直接执行:python manage.py makemigrations password ,python manage.py migrate 就好了

在此补充一下,我个人使用password这个项目时遇到的问题:
1、项目中的requirements.txt 中的django 版本不对,需要手动安装2.1 版本
2、安装pycryptodomex==3.4.7时,Mac电脑如果遇到“gcc 报错”,请执行:xcode-select --install ,等xcode安装好后,重新安装
3、楼上已经反馈的问题,对应的解决方案会回答了。

@15b883
Copy link

15b883 commented Mar 5, 2020

sqlite3.OperationalError: no such table: tree_department
这个不是自动创建的吗
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants