diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-08-22 10:41:25 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-08-22 10:41:25 +0800 |
commit | f1e089f7736ac8f7b9af784461350c4c169211ad (patch) | |
tree | e45453e0d1fe5695b5227249040a668bff2610c1 /apps/settings.py | |
parent | 6a2a96299d4802cb4fb82891daf6f81ff33ba4e0 (diff) | |
download | patchwork-f1e089f7736ac8f7b9af784461350c4c169211ad.tar.bz2 patchwork-f1e089f7736ac8f7b9af784461350c4c169211ad.tar.xz |
Use django-registration infrastructure
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/settings.py')
-rw-r--r-- | apps/settings.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings.py b/apps/settings.py index df656de..8b33182 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -66,7 +66,8 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'apps.urls' -LOGIN_URL = '/patchwork/login' +LOGIN_URL = '/accounts/login' +LOGIN_REDIRECT_URL = '/user/' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". @@ -89,7 +90,10 @@ INSTALLED_APPS = ( 'django.contrib.sites', 'django.contrib.admin', 'patchwork', + 'registration', ) DEFAULT_PATCHES_PER_PAGE = 100 PATCHWORK_FROM_EMAIL = 'Patchwork <patchwork@patchwork.example.com>' + +ACCOUNT_ACTIVATION_DAYS = 7 |