Last Updated: December 30, 2020
·
2.522K
· dizpers

django-registration problem with Django 1.5 [no module named simple error]

Problem

The error is "no module named simple error"

Why it happened

django.views.generic.simple is DEPRECATED in Django 1.5

You should use TemplateView instead.

Solution

Use this fork.

How to install package from specific branch with pip

Generally

pip install -e VCS+REPOS_URL[@REV]#egg=PACKAGE

So, we should do:

pip install -e git+http://github.com/urtzai/django-registration.git@patch-1#egg=registration