Pycharm创建Django admin用户名和密码
1.Tools>Run manage.py Task
2.依次输入:
makemigrations
migrate
createsuperuser
如:
[email protected] > makemigrations
[email protected] > migrate
[email protected] > createsuperuser
1.Tools>Run manage.py Task
2.依次输入:
makemigrations
migrate
createsuperuser
如:
[email protected] > makemigrations
[email protected] > migrate
[email protected] > createsuperuser