Curtis
Curtis

Reputation: 1265

django-registration-redux is not working

django-registration-redux is not working. I have changed my settings to the following and run python manage.py migrate. I haven't got a clue why it hasn't done anything to the database, which is what is suggested in Page not found error?

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',  # manually added
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # third party apps
    'crispy_forms',
    'registration',  # django-registration-redux
    #  my apps
        'newsletter',
    )

# Django-registration-redux settings
ACCOUNT_ACTIVATION_DAYS = 7
REGISTRATION_AUTO_LOGIN = True

enter image description here

Upvotes: 0

Views: 807

Answers (1)

Curtis
Curtis

Reputation: 1265

I just thought I would post the solution to my problem if anybody encounters the same issue. The template base.html needs to be referenced to the correct folder if your templates are not stored in one folder, so it becomes {% extends "folder/base.html" %}. There are a couple of html files in registration folder with base.html needing re-referencing.

Upvotes: 1

Related Questions