Skip to content

Commit

Permalink
Use REQUEST to get redirect_field_value so redirect URLs can persist …
Browse files Browse the repository at this point in the history
…form validation errors
  • Loading branch information
brosner committed May 17, 2010
1 parent 28b932d commit 6fe378c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinax/apps/account/views.py
Expand Up @@ -99,7 +99,7 @@ def login(request, **kwargs):
"form": form,
"url_required": url_required,
"redirect_field_name": redirect_field_name,
"redirect_field_value": request.GET.get(redirect_field_name),
"redirect_field_value": request.REQUEST.get(redirect_field_name),
})
ctx.update(extra_context)

Expand Down Expand Up @@ -141,7 +141,7 @@ def signup(request, **kwargs):
ctx.update({
"form": form,
"redirect_field_name": redirect_field_name,
"redirect_field_value": request.GET.get(redirect_field_name),
"redirect_field_value": request.REQUEST.get(redirect_field_name),
})

return render_to_response(template_name, RequestContext(request, ctx))
Expand Down

0 comments on commit 6fe378c

Please sign in to comment.