Skip to content

Commit

Permalink
Use GET instead of REQUEST
Browse files Browse the repository at this point in the history
REQUEST is not defined in Django 1.9.x
  • Loading branch information
Brian May committed Jul 1, 2016
1 parent b5799f1 commit b161925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion password_policies/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def get_success_url(self):

def get_context_data(self, **kwargs):
name = self.redirect_field_name
kwargs[name] = self.request.REQUEST.get(name, '')
kwargs[name] = self.request.GET.get(name, '')
return super(PasswordChangeFormView, self).get_context_data(**kwargs)


Expand Down

0 comments on commit b161925

Please sign in to comment.