macropin/django-registration — pull request #16 by Andertaker (2014-10-29 16:26:53+00:00)
Title: Custom User model fix + remove email field from form if USERNAME_FIELD = "email"

Custom User model fix + remove email field from form if USERNAME_FIELD = "email" e.g.

class User(PermissionsMixin, AbstractBaseUser):
USERNAME_FIELD = "email"