some css tweaks regarding colors
[wolnelektury.git] / apps / ajaxable / utils.py
index a6faafa..d6f7050 100755 (executable)
@@ -52,7 +52,7 @@ class AjaxableFormView(object):
                 redirect = request.GET.get('next')
                 if not ajax and redirect:
                     return HttpResponseRedirect(urlquote_plus(
                 redirect = request.GET.get('next')
                 if not ajax and redirect:
                     return HttpResponseRedirect(urlquote_plus(
-                            redirect, safe='/?='))
+                            redirect, safe='/?=&'))
                 response_data = {'success': True, 
                     'message': self.success_message, 'redirect': redirect}
             else:
                 response_data = {'success': True, 
                     'message': self.success_message, 'redirect': redirect}
             else: