Skip to content

Commit

Permalink
Added TEMPLATES setting to test project #104
Browse files Browse the repository at this point in the history
Tested on django 1.10 prealpha successfully.
Closes #104
  • Loading branch information
nemesifier committed Apr 13, 2016
1 parent fad43f5 commit 625a36b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'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',
],
},
},
]

ROOT_URLCONF = 'urls'

TIME_ZONE = 'Europe/Rome'
Expand Down

0 comments on commit 625a36b

Please sign in to comment.