Skip to content

Commit

Permalink
Add Django1.9 TEMPLATE settings to contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebryant committed Apr 11, 2016
1 parent d890924 commit d651a70
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions django_autoconfig/contrib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@
'TEMPLATE_CONTEXT_PROCESSORS': [
'django.contrib.messages.context_processors.messages',
],
'TEMPLATES': [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'OPTIONS': {
'context_processors': [
'django.contrib.messages.context_processors.messages',
],
},
},
],
},
DEFAULT_SETTINGS = {},
RELATIONSHIPS = [
Expand Down Expand Up @@ -91,6 +101,16 @@
'TEMPLATE_CONTEXT_PROCESSORS': [
'django.contrib.auth.context_processors.auth',
],
'TEMPLATES': [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'OPTIONS': {
'context_processors': [
'django.contrib.auth.context_processors.auth',
],
},
},
],
},
DEFAULT_SETTINGS = {},
RELATIONSHIPS = [
Expand Down

0 comments on commit d651a70

Please sign in to comment.