Open Euphorbium opened 9 years ago
Currently you have the only choice:
Open Django shell bin/django shell_plus
and run following commands:
>>> u = User.objects.get()
>>> u.is_superuser = u.is_staff = True
>>> u.save()
/admin/
.A'm leaving this task in backlog as a user story for improvement to avoid this manual process.
How can I get to admin panel? When I go to ^/admin, I get redirected to homepage, and if I am not logged in, I get redirected to log in page. But there is no way to log in with a user created with a createsuperuser command. I have tried to make regular user a superuser via a database, but it also gets redirected to home page.