How to get to django interactive shell?
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
Solution:Jump to solution
railway run python 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...4 Replies
Where percy? Did I break the bot too 🤣
Solution
railway run python manage.py createsuperuser
railway run
runs the command on your computer, but it does so with the service variables available to the pass in commandPerfect, thank you. Works great 👍
(how do you mark answer?)
only mods / admins can mark a message as a solution