Ticket #13081: patch1.txt

File patch1.txt, 538 bytes (added by joh, 5 years ago)

Suggestion 1 -- maybe not so "clean"

Line 
1Index: django/contrib/admin/options.py
2===================================================================
3--- django/contrib/admin/options.py     (revision 12756)
4+++ django/contrib/admin/options.py     (working copy)
5@@ -756,7 +756,7 @@
6             if isinstance(response, HttpResponse):
7                 return response
8             else:
9-                return HttpResponseRedirect(".")
10+                return HttpResponseRedirect("")
11         else:
12             msg = _("No action selected.")
13             self.message_user(request, msg)
Back to Top