diff options
author | Wojciech Polak <polak@gnu.org> | 2014-10-19 17:32:51 +0200 |
---|---|---|
committer | Wojciech Polak <polak@gnu.org> | 2014-10-19 17:32:51 +0200 |
commit | 7466a72808faef7c05172d159fa7ba9bfac39042 (patch) | |
tree | 065f143244a17f88977be3f0868e6bfb32d7e85d | |
parent | 756eb0af4226f4a3d3f91fc23d2d3c237bce69ee (diff) | |
download | dico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.gz dico-7466a72808faef7c05172d159fa7ba9bfac39042.tar.bz2 |
Update Dicoweb for Django 1.5+
-rw-r--r-- | dicoweb/requirements.txt | 2 | ||||
-rw-r--r-- | dicoweb/views.py | 4 |
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): |