]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/middleware/anon_user.py
Prevents questions on which the slug comes out empty to enter a redirect loop.
[osqa.git] / forum / middleware / anon_user.py
index 866734dae47127802c82396fb62bcf036842f730..26c138c8fbc3beeadaea979ac3e046c3b57eea86 100644 (file)
@@ -1,8 +1,8 @@
 from django.http import HttpResponseRedirect
-from forum.utils.forms import get_next_url
+from forum.forms import get_next_url
 from django.utils.translation import ugettext as _
 from forum.user_messages import create_message, get_and_delete_messages
-from django.conf import settings
+from forum import settings
 from django.core.urlresolvers import reverse
 import logging