A
A
AliminVerckon2020-10-25 19:44:03
Django
AliminVerckon, 2020-10-25 19:44:03

Why disable debug?

In the project settings it is written that do not run the program with debugging enabled in production mode!
But when you turn it off, all styles disappear
If you need to turn off debug, then how to fix the problem with styles
I understand the question is stupid, but I first created a site on django

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-10-25
@AliminVerckon

another one doesn’t want to google or read the docs, the question was answered a bunch of times, it’s not django that distributes statics on prod, but the web server https://docs.djangoproject.com/en/3.1/howto/static...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question