-2

i tried installing django registration: http://django-registration.readthedocs.org/en/latest/ but i get an error: no module named registration

whenever i load my site.

what can I do?

Chris Hansen
  • 7,813
  • 15
  • 81
  • 165

2 Answers2

2

You should add it to the INSTALLED_APPS list :

Begin by adding registration to the INSTALLED_APPS setting of your project, and specifying one additional setting:

ACCOUNT_ACTIVATION_DAYS This is the number of days users will have to activate their accounts after registering. If a user does not activate within that period, the account will remain permanently inactive and may be deleted by maintenance scripts provided in django-registration.

This is from the required settings section : http://django-registration.readthedocs.org/en/latest/quickstart.html#required-settings

Emil Davtyan
  • 13,808
  • 5
  • 44
  • 66
0

So these are the steps that worked for me.

  1. Install using pip

    $pip install django-registration

  2. Make sure the django-registration is installed.

    $pip list

django-registration should show up.

  1. Add 'django-registration' to INSTALLED_APPS tuple

Hope this helps.

doubleo
  • 4,389
  • 4
  • 16
  • 19