pennersr/django-allauth — pull request #119 by sssbox (2012-09-20 18:14:57+00:00)
Title: Email confirmation error handling

As discussed in https://github.com/pennersr/django-allauth/issues/117 this handles the following errors:

* If a key is expired it doesn't fail silently anymore.
* If somehow "sent" isn't set, it also raises a 404
* This may not be the best course of action as sent not being set could mean there was an error after the email was dispatched and before or while the emailconfirmation was saved even though the email went out. Furthermore, if you use a transactional database, the error could be any time before the transaction is committed

Note that this includes code from the previous pull request: https://github.com/pennersr/django-allauth/pull/118.

If you don't want those signals you can cherry pick sssbox/django-allauth@b67d9afc94eb3b3e99f4e415104e05fc936f82aa