diff --git a/website/views.py b/website/views.py index 89d041040..ae9a606f5 100644 --- a/website/views.py +++ b/website/views.py @@ -212,7 +212,7 @@ def form_valid(self, form): # assign issue self.process_issue(self.request.user, obj, created, domain) - return HttpResponseRedirect(redirect_url) + return HttpResponseRedirect(self.request.META.get('HTTP_REFERER')) def get_context_data(self, **kwargs):