pennersr/django-allauth — pull request #82 by sssbox (2012-08-15 18:16:48+00:00)
Title: Email settings view cleanup

Sorry that my editor is set to delete extra whitespace. To view the diff without that: https://github.com/sssbox/django-allauth/compare/email_settings_update?w=1

Changes:

1 Don't allow users to delete primary email.
2 On success, redirect back to account_email so a page refresh doesn't resubmit the form
3 Add the same error checking to the set primary email address action as is in the other two email specific actions.