Clone of https://bitbucket.org/ubernostrum/django-registration