bread-and-pepper/django-userena — pull request #198 by boris-chervenkov (2012-05-18 00:38:08+00:00)
Title: HTTP 405 response when user tries to signup, but the form contains errors.

The problem is in ExtraContextTemplateView - it only implements the **get** method (in TemplateView), but the signup view is defined as:

def signup(...):
if request.method == 'POST':
if form.is_valid():
. . .
return redirect(...)

return ExtraContextTemplateView.as_view(...)

Since I think this might happen on other places in userena.views, I added a post() method to ExtraContextTemplateView by copying the get method.