[Django] Plz tell me how to fix this error

thus to this sentence, I changed the code to if settings.DEBUG = False, but it was wrong too.

what should I do?
If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others

who are stuck to find the question and answer! :slight_smile: