Check that you have ALLOWED_HOSTS set properly. While DEBUG=True, host
validation is disabled, so it isn't needed.

On Wed, Jul 12, 2023 at 5:47 PM Théodore KOSSI <kossitheod...@gmail.com> wrote:
>
> Hello everyone,
> I have a problem with my website. When I put DEBUG = False, my website 
> appears in white page but when it is in True, my website works normally.
> Please, anyone can help me ??
>
> --
> theodoros17@python-developer
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAKiMjQGQRQ_eanYNBrqAFBU3ayakQUxuQuNmMhn8km%2BCuysfBA%40mail.gmail.com.

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABKWZPm2S6soDNaO_eT4KRGFv8s45mBEjxGDJQ4989z-333GeA%40mail.gmail.com.

Reply via email to