Please enter the correct username and password for a staff account. Note tha
解决:
5. 清空数据库
1
|
python manage.py flush
|
此命令会询问是 yes 还是 no, 选择 yes 会把数据全部清空掉,只留下空表。
6. 创建超级管理员
1
2
3
4
5
6
|
python manage.py createsuperuser
|