Django LFS 0.10 没有默认管理员用户
Django LFS 0.10 No default admin user
我已经按照上面的说明安装了 LFS 0.10 here but when I go to http://localhost:8000/login 我无法使用 admin/admin 登录。 auth_user 也是空的。
有人知道如何解决这个问题吗?
谢谢。
the Django tutorial 中介绍了创建超级用户。
python manage.py createsuperuser
查看 LFS installation docs,您似乎可以使用 bin/django
访问 django-admin
实用程序,因此,您可以使用:
bin/django createsuperuser
我已经按照上面的说明安装了 LFS 0.10 here but when I go to http://localhost:8000/login 我无法使用 admin/admin 登录。 auth_user 也是空的。
有人知道如何解决这个问题吗?
谢谢。
the Django tutorial 中介绍了创建超级用户。
python manage.py createsuperuser
查看 LFS installation docs,您似乎可以使用 bin/django
访问 django-admin
实用程序,因此,您可以使用:
bin/django createsuperuser