Applied patch from https://bitbucket.org/mrginglymus/django-registration/commits/efc5c252af2b2f4daa1f2f6ea65d60a497217d0c/raw/ , adding support for Django 1.5 Customizable User Models