Why does my Django app work locally but return 400 Bad Request when deployed?
beginner
· 7 views ·
asked 3 days, 11 hours ago
by Tai
0
Context
Django 5 project deployed to a cloud host (Render). Locally I run python manage.py runserver with DEBUG=True and everything works. In production I set DEBUG=False and pointed my domain at the service.
Expected
Visiting my production domain should serve the site exactly like it does locally.
What Happened
Every request to the production URL returns 400 Bad Request, with nothing useful in the browser. Logs show the request arriving but Django rejecting it immediately.
Question comments
Short clarifications and small follow-ups about the question itself.
No comments on the question yet.
0 Answers
No answers yet. Be the first to help!