]> git.openstreetmap.org Git - osqa.git/commitdiff
Bad url reverse.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Oct 2010 16:43:44 +0000 (16:43 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Oct 2010 16:43:44 +0000 (16:43 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@610 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/exporter/views.py

index defd6e01bc3710fc52f78f64984a6d4a3301e390..3c90a80fcf2eabe3c86c1756ba24e9537374a353 100644 (file)
@@ -22,7 +22,7 @@ def exporter(request):
     state = cache.get(CACHE_KEY)
 
     if state and state['running']:
-        return HttpResponseRedirect(reverse('exporter_running'))
+        return HttpResponseRedirect(reverse('exporter_running', kwargs=dict(mode='exporter')))
 
     if request.method == 'POST':
         form = ExporterForm(request.POST)