transcode-de / cookiecutter-django-project

:cookie: A Cookiecutter template we use for Django projects at transcode.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Add django-template-debug #55

Closed keimlink closed 8 years ago

keimlink commented 9 years ago

Add django-template-debug for debugging and introspecting templates.

rm-- commented 8 years ago

Are you sure? To setup it is required to set TEMPLATE_DEBUG.

But after Django docs:

TEMPLATE_DEBUG

Default: False
Deprecated since version 1.8:
Set the 'debug' option in the OPTIONS of a DjangoTemplates backend instead.

So I would avoid to add TEMPLATE_DBUG to our settings.

keimlink commented 8 years ago

Right, please use the appropriate setting for Django 1.8. Use a django-configurations value so that it can be easily changed using an environment variable.