0
votes

Django newbie, running on Ubuntu 12.04, Django 1.3.1 and apt-get install python-django-registration.

Trying build a demo site to use the user registration module. I followed the steps from http://lightbird.net/dbe/forum3.html. But when I try to access accounts/ or admin/, getting the following error: "name 'registration' is not defined"

I am able to access the admin interface, after commenting out the registration part in urls.py. Any tips to overcome this issue?

2
Dont use apt-get to install django-python modules. Instead use pip install. - Pol

2 Answers

2
votes

is "registration" in INSTALLED_APPS in settings.py?

1
votes

Is django-registration on your PYTHONPATH? Also I assume that you did syncdb after adding registration to installed app. If both are true, then try opening a shell prompt with python manage.py shell and import something from the registration module and see what error that gives