Skip to content

Commit

Permalink
Add TEMPLATE to config for Django 1.10 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Aug 29, 2016
1 parent 528eff7 commit 52bf6bd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion suit/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,22 @@
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
# ROOT_URLCONF = 'tests.urls'

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',
],
},
},
]

SITE_ID = 1
SECRET_KEY = 'secret-key'
Expand Down

0 comments on commit 52bf6bd

Please sign in to comment.