I have problem with DEBUG mode. If I set the DEBUG=True,Then my django admin dashboard working perfectly. But when I changed the DEBUG=False,Then it gives the following error,
A server error occurred. Please contact the administrator.
Note: I am currently running my app in dev mode. But I don't need to run my app in DEBUG=True mode.
Could it be ALLOWED_HOSTS? This trips up lots of people when they finally deploy and turn off DEBUG for the first time. https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With