Skip to content

Instantly share code, notes, and snippets.

@vitorfs
Created August 25, 2016 16:52
Show Gist options
  • Save vitorfs/3fe69995a9d32207d4726a93b5a63bcb to your computer and use it in GitHub Desktop.
Save vitorfs/3fe69995a9d32207d4726a93b5a63bcb to your computer and use it in GitHub Desktop.
template
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
PROJECT_DIR.child('templates'),
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
'debug': DEBUG
},
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment