[Solved]-Django settings Unknown parameters: TEMPLATE_DEBUG

18👍

I think you need to do:

DEBUG = True 

TEMPLATES = [
    {
        # something else
        'OPTIONS': {
            'debug': DEBUG,
        },
    },
]

Django used to accept TEMPLATE_DEBUG variable but since Django >= 1.8, this not allowed any more and is replaced as explained above.

Django doc.

Leave a comment