Thanks so much for your assistance indeed the issue was I had failed to
visualise my data on railway since I am using an external database. A
friend helped understand that and now I am able to access my admin panel.
Thanks everyone.
On Wed, 10 Apr 2024, 19:59 Luis Zárate, wrote:
> Maybe
Maybe something like
python manage.py shell -c "from django.contrib.auth.hashers import
make_password;from django.contrib.auth.models import User; admin =
User(username='username', email='exam...@example.com',
password=make_password('password'),
is_superuser=True,is_staff=True);admin.save()"
It's my external database is postgres on railway.
Let me try your opinion and I see.
On Sat, 6 Apr 2024, 20:33 Aniket Raj Singh,
wrote:
> So you have used render to host your application, you might have connected
> an external database (postgreSQL or any other) you might have used the
>
So you have used render to host your application, you might have connected
an external database (postgreSQL or any other) you might have used the
environment setup to set the database up with the postgreSQL hosted either
on render itself or on a different server, just connect the database with
4 matches
Mail list logo