aboutsummaryrefslogtreecommitdiff
path: root/dicoweb/views.py
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 /dicoweb/views.py
parent756eb0af4226f4a3d3f91fc23d2d3c237bce69ee (diff)
downloaddico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.gz
dico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.bz2
Update Dicoweb for Django 1.5+
Diffstat (limited to 'dicoweb/views.py')
-rw-r--r--dicoweb/views.py4
1 files changed, 2 insertions, 2 deletions
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.