aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2014-10-19 17:32:51 +0200
committerWojciech Polak <polak@gnu.org>2014-10-19 17:32:51 +0200
commit7466a72808faef7c05172d159fa7ba9bfac39042 (patch)
tree065f143244a17f88977be3f0868e6bfb32d7e85d
parent756eb0af4226f4a3d3f91fc23d2d3c237bce69ee (diff)
downloaddico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.gz
dico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.bz2
Update Dicoweb for Django 1.5+
-rw-r--r--dicoweb/requirements.txt2
-rw-r--r--dicoweb/views.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/dicoweb/requirements.txt b/dicoweb/requirements.txt
index 47b7897..028c4fe 100644
--- a/dicoweb/requirements.txt
+++ b/dicoweb/requirements.txt
@@ -1,2 +1,2 @@
-Django >=1.4.5
+Django >=1.5
git+git://git.gnu.org.ua/wit.git#egg=wit
diff --git a/dicoweb/views.py b/dicoweb/views.py
index 6cf5349..f1fce0e 100644
--- a/dicoweb/views.py
+++ b/dicoweb/views.py
@@ -1,5 +1,5 @@
# This file is part of GNU Dico.
-# Copyright (C) 2008-2010, 2012, 2013 Wojciech Polak
+# Copyright (C) 2008-2010, 2012-2014 Wojciech Polak
#
# GNU Dico is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -196,7 +196,7 @@ def opensearch(request):
url_media = request.build_absolute_uri(settings.MEDIA_URL)
return render_to_response('opensearch.xml', {'url_query': url_query,
'url_media': url_media},
- mimetype='application/xml')
+ content_type='application/xml')
def __subs1(match):

Return to:

Send suggestions and report system problems to the System administrator.