Skip to content

Commit

Permalink
Add TEMPLATES section to the test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mjumbewu committed Jan 31, 2016
1 parent 0c1cabc commit 9af1e22
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jstemplate/tests/project/project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BASE_DIR = os.path.join(DIR, '..', '..', '..', '..')
sys.path.insert(0, os.path.abspath(BASE_DIR))

DEBUG = True
DEBUG = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3'} }

LANGUAGE_CODE = 'en-us'
Expand All @@ -25,3 +25,10 @@
'project',
'jstemplate'
)

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
},
]

0 comments on commit 9af1e22

Please sign in to comment.