coderjoshdkTRIAL
a year ago
Is there a way to connect to a django mange? IE running the interactive shell? How do people normally handle creating a superuser? I did it through a db migration (dump and restore). But is there some more native way? I am now in need of running some interactive shell code on the prod server. Or I would prefer to do it that way, as opposed to writing raw SQL.
project id: 1b326884-0c17-43ed-9b52-f443662e8f50
0 Replies
a year ago
railway run python [manage.py](manage.py) createsuperuser
railway run
runs the command on your computer, but it does so with the service variables available to the pass in command
a year ago
only mods / admins can mark a message as a solution