Package: dico / 2.2-8

dicoweb-django.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: django.template.loaders.*.load_template_source is deprecated in 
  Django 1.4
Forwarded: no
Bug-Debian: http://bugs.debian.org/678912
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
--- a/dicoweb/settings-sample.py
+++ b/dicoweb/settings-sample.py
@@ -61,8 +61,8 @@
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
-    'django.template.loaders.filesystem.load_template_source',
-    'django.template.loaders.app_directories.load_template_source',
+    'django.template.loaders.filesystem.Loader',
+    'django.template.loaders.app_directories.Loader',
 )
 
 MIDDLEWARE_CLASSES = (