Re: Help on Creating a Superuser account on render.

2024-04-11 Thread ALINDA Fortunate
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

Re: Help on Creating a Superuser account on render.

2024-04-10 Thread Luis Zárate
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()"

Re: Help on Creating a Superuser account on render.

2024-04-07 Thread ALINDA Fortunate
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 >

Re: Help on Creating a Superuser account on render.

2024-04-06 Thread Aniket Raj Singh
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