Bro search for logging and include logging in your settings. When you set 
debug = False, it will not output errors in the console. But if you enable 
loging it will output all errors in text file

On Tuesday, 15 December 2020 at 12:56:31 UTC+5 [email protected] wrote:

> When i set debug to false the server respond with internal server error 
> 500 on local host.
> Also i had installed whitenoise, gunicorn an in allowed hosts i put "*"
> When i go to admin site it works perfectly fine... 
>
> But when debug is set to true everything works perfectly fine.. 
> Can anyone give me any solution...? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d878b530-4369-4862-be6d-6f120068a55an%40googlegroups.com.

Reply via email to