app-generator / django-volt-dashboard

Django Bootstrap 5 - Volt Dashboard | AppSeed
https://appseed.us/product/volt-dashboard/django/
Other
289 stars 152 forks source link

Is is possible to get access to the admin panel http://127.0.0.1:8000/admin/ #6

Closed Mike-in-Maine closed 2 years ago

Mike-in-Maine commented 2 years ago

Once the template is installed, is it possible to gain access to the admin panel?

app-generator commented 2 years ago

Hello @Mike-in-Maine

You need to create a superuser via:

$ python manage createsuperuser
Mike-in-Maine commented 2 years ago

Ok thank you . So I would like to report a little bug here: I knew I had to use '$ python manage.py createsuperuser', however IF you already created a new user through http://127.0.0.1:8000/login, superuser cannot be the same as your login, and while creating superuser, it will not tell you that this operation cannot be accomplished. It does make sense since you cannot have 2 users with the same name, its just something that is not immediately clear.

I solved it by creating a different user and pass for superuser than the user I use for http://127.0.0.1:8000/login. --Thank you!