File: define-django-template-backend.patch

package info (click to toggle)
python-django-pyscss 2.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 292 kB
  • ctags: 148
  • sloc: python: 429; makefile: 26
file content (19 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Define django template backend
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/828671
Forwarded: https://github.com/fusionbox/django-pyscss/pull/43/commits/ddda505c6a05080ffc9f631e0cede5cbb6a032c2
Last-Update: 2016-07-19

--- python-django-pyscss-2.0.2.orig/testproject/testproject/settings.py
+++ python-django-pyscss-2.0.2/testproject/testproject/settings.py
@@ -131,3 +131,10 @@ LOGGING = {
         },
     }
 }
+
+TEMPLATES = [
+    {
+        'BACKEND': 'django.template.backends.django.DjangoTemplates',
+        'APP_DIRS': True,
+    },
+]