[Python-modules-commits] [django-classy-tags] 01/06: django-1.10-define_TEMPLATES
Thomas Goirand
zigo at moszumanska.debian.org
Tue Aug 2 10:18:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
zigo pushed a commit to branch master
in repository django-classy-tags.
commit 8cfa8e21ecea7c92673c01c1a0a3d995d37a88e3
Author: Thomas Goirand <zigo at debian.org>
Date: Tue Aug 2 10:03:34 2016 +0000
django-1.10-define_TEMPLATES
---
runtests.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/runtests.py b/runtests.py
index 9d80309..0d054ad 100644
--- a/runtests.py
+++ b/runtests.py
@@ -32,6 +32,19 @@ else:
ROOT_URLCONF = 'runtests'
+TEMPLATES = [
+ {
+ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
+ 'APP_DIRS': True,
+ 'DIRS': [
+ os.path.join(os.path.dirname(__file__), 'test_templates'),
+ ],
+ 'OPTIONS': {
+ 'debug': True,
+ },
+ },
+]
+
def main():
import django
from django.conf import settings
@@ -43,6 +56,7 @@ def main():
TEMPLATE_DIRS = TEMPLATE_DIRS,
TEMPLATE_DEBUG = TEMPLATE_DEBUG,
MIDDLEWARE_CLASSES = [],
+ TEMPLATES=TEMPLATES,
)
# Run the test suite, including the extra validation tests.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-classy-tags.git
More information about the Python-modules-commits
mailing list