]> 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 a517f664b0e37c8c513cb5445e94a92bb3e8ed54..26c138c8fbc3beeadaea979ac3e046c3b57eea86 100644 (file)
@@ -1,5 +1,5 @@
 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 forum import settings