ro6313
Setting up a Django admin
Hello, I am a member of the following website.
I am Japanese.
Sorry if my English is not good.
https://railway.app/template/GB6Eki
This is a Railway template that allows you to deploy "Django".
I have deployed it, but I don't know the initial login name and password to enter when I go to the ADMIN page.
I think I need to set up a SUPERUSER.
I executed the following command, but got an "ERR" error.
railway run python manage.py createsuperuser
-- ERR --
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
----------
I haven't edited any code.
Can you tell me how to set up an admin?
36 replies