diff options
author | Jonathan Liuti <liuti.john@gmail.com> | 2016-08-24 17:20:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 17:20:36 +0200 |
commit | 5f9cdf70b62a4ea5bb6f657387f117b41a553628 (patch) | |
tree | 212c503078622ab184b9332a960778378555c046 /wkhtmltopdf/tests/run.py | |
parent | 59d3a49ae52756d9733a9ac2b6c5ed01587b9433 (diff) | |
parent | e979d40d365e992fa035d1bce2c230699ffe255d (diff) | |
download | django-wkhtmltopdf-5f9cdf70b62a4ea5bb6f657387f117b41a553628.tar.gz django-wkhtmltopdf-5f9cdf70b62a4ea5bb6f657387f117b41a553628.tar.bz2 django-wkhtmltopdf-5f9cdf70b62a4ea5bb6f657387f117b41a553628.zip |
Merge pull request #119 from brianjbuck/remove-current-app-kwarg
Remove kwarg `current_app=None`.
Diffstat (limited to 'wkhtmltopdf/tests/run.py')
-rw-r--r-- | wkhtmltopdf/tests/run.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wkhtmltopdf/tests/run.py b/wkhtmltopdf/tests/run.py index e0021ab..4ff7f9e 100644 --- a/wkhtmltopdf/tests/run.py +++ b/wkhtmltopdf/tests/run.py @@ -18,6 +18,7 @@ settings.configure( } }, INSTALLED_APPS=( + 'django.contrib.contenttypes', 'wkhtmltopdf.tests', 'wkhtmltopdf', ), @@ -29,6 +30,14 @@ settings.configure( MEDIA_URL='/media/', STATIC_ROOT=os.path.join(DIRNAME, 'static'), STATIC_URL='/static/', + TEMPLATES = [ # For Django >= 1.10. Ignored in lower versions + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'APP_DIRS': True, + 'DIRS': [], + 'OPTIONS': {}, + }, + ], WKHTMLTOPDF_DEBUG=False, ) |