[Python-modules-commits] r23572 - in packages/python-django/branches/squeeze/debian/patches (1 file)

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Sun Feb 24 16:21:46 UTC 2013


    Date: Sunday, February 24, 2013 @ 16:21:44
  Author: hertzog
Revision: 23572

extra_context doesn't exist in 1.2

Modified:
  packages/python-django/branches/squeeze/debian/patches/21_fix_redirect_poisoning.diff

Modified: packages/python-django/branches/squeeze/debian/patches/21_fix_redirect_poisoning.diff
===================================================================
--- packages/python-django/branches/squeeze/debian/patches/21_fix_redirect_poisoning.diff	2013-02-24 16:14:46 UTC (rev 23571)
+++ packages/python-django/branches/squeeze/debian/patches/21_fix_redirect_poisoning.diff	2013-02-24 16:21:44 UTC (rev 23572)
@@ -36,7 +36,7 @@
              auth_login(request, form.get_user())
  
              if request.session.test_cookie_worked():
-@@ -70,17 +63,31 @@ def logout(request, next_page=None, temp
+@@ -70,17 +63,29 @@ def logout(request, next_page=None, temp
      "Logs out the user and displays 'You are logged out' message."
      from django.contrib.auth import logout
      logout(request)
@@ -71,8 +71,6 @@
 +        'site_name': current_site.name,
 +        'title': _('Logged out')
 +    }
-+    if extra_context is not None:
-+        context.update(extra_context)
 +    return render_to_response(template_name, context,
 +                              context_instance=RequestContext(request, current_app=current_app))
  




More information about the Python-modules-commits mailing list