[Solved]-Django-registration compatibility issue with django 1.7


Don’t use the django-registration available from PyPI. It does not support Django 1.7 and it appears it never will. The repo maintainer has abdicated and the project appears unmaintained.

There is a maintenance fork available on Github which has worked well for me with Django 1.7:


It’s available from PyPI as django-registration-redux.


You can install using pip:

pip install django-registration-redux


This note addresses your problem.

I think the preferred way to import User is:

from django.conf import settings
User = settings.AUTH_USER_MODEL


Looks like this problem has been noted but the project admin is being difficult about making the change. link. This is a bigger problem with the updates in Django 1.7.

I would say you could either: (1) fork the repo and make the change yourself, or (2) make the changes in your site packages folder after you pip install. The latter version won’t work as well if you then push it to another server and install with requirements.txt. Note that if you do option 1 with requirements.txt, you’ll want to point it to your repo rather than Django-registration.


Leave a comment