caeresoul
caeresoul
RRailway
Created by caeresoul on 6/6/2023 in #✋|help
Django create superuser not works in production
Hi, i linked my folder to the project via railway cli and created a superuser via railway run python manage.py createsuperuser but after the railway up to redeploy the project it doesn't recognize my created username in admin panel. projectid: 47a62a38-cd1d-46d0-815a-491ff9c0a8d9
14 replies
RRailway
Created by caeresoul on 6/3/2023 in #✋|help
Created superuser from cli not recognised in deployed app
Hi everyone, I deployed an app on railway an now i want to add a superuser to acces to my admin panel. I used the command from cli railway run python manage.py createsuperuser and it create it from the command line but after the command raailway up, I go to the admin page and it throws the error "Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive." but i digited the correct names. the project id: 54f28c3c-39cd-456f-ad3f-8ec71c0a2b4e
6 replies