Ticket #6656: error.diff
File error.diff, 756 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/sites.py
245 245 # overwrite request.POST with the saved post_data, and continue 246 246 request.POST = post_data 247 247 request.user = user 248 return view_func(request, *args, **kwargs) 248 from django.core.urlresolvers import resolve 249 r = resolve(request.path) 250 return r[0](request, *r[1], **r[2]) 249 251 else: 250 252 request.session.delete_test_cookie() 251 253 return http.HttpResponseRedirect(request.path)