Package: dico / 2.2-8

django_1.7.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Migrate to Django 1.7
Author: "Marc Dequènes (Duck)" <duck@duckcorp.org>
Bug-Debian: http://bugs.debian.org/755585
Forwarded: yes

--- a/dicoweb/dicoweb.wsgi
+++ b/dicoweb/dicoweb.wsgi
@@ -21,5 +21,5 @@
 os.environ['DJANGO_SETTINGS_MODULE'] = 'dicoweb.settings'
 sys.path.insert (0, os.path.join (SITE_ROOT, '../'))
 
-from django.core.handlers.wsgi import WSGIHandler
-application = WSGIHandler ()
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()