]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/exporter/views.py
Use a collation on tag and user names that allows case insensitive search.
[osqa.git] / forum_modules / exporter / views.py
index af77f5b0d4b14a13d218f819b361e9105ceaf8d0..edbeedc083ae80e6977e027099dd0cfb17d61f91 100644 (file)
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
 import os, tarfile, ConfigParser, datetime
 
 from StringIO import StringIO
@@ -16,7 +18,6 @@ from forum import settings
 from exporter import export, CACHE_KEY, EXPORT_STEPS, DATE_AND_AUTHOR_INF_SECTION, DATETIME_FORMAT
 from importer import start_import
 
-
 @admin_tools_page(_('exporter'), _('XML data export'))
 def exporter(request):
     state = cache.get(CACHE_KEY)