bread-and-pepper/django-userena — pull request #316 by rahul-kashyap (2013-05-30 11:33:34+00:00)
Title: Patch to fix the issue that comes with registering Custom User Model through Userena.

While registering the user model through userena, it requires to have multiple fields which are there in "auth.User". For someone using "Custom User", this may give error for various fields as it uses UserAdmin.

One of such fields being 'username'. For someone using the custom User model, this field may not be present in the model, but userena presently makes it mandatory to have this field. This happens in the admin.py where we register the Custom User model using the UserAdmin, which in turn assumes the Custom User model to have fields like 'username', 'groups' etc. Furthermore, registering the user model can be left to the developer.

PS: All this happening when the Custom User is using "django.contrib.auth.models.AbstractBaseUser".