a clone of https://bitbucket.org/ubernostrum/django-registration