X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;h=719b9d174cbfb82a16690cd3515f793a6b0a70d3;hb=05d26756d7e7f254d5631a0649aeac5fd3a58ca8;hp=df656dec951abc631c0ec3f1740f13d811fb4fca;hpb=eb6db921938c72c0655ca2e381818a471f99f5fa;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index df656de..719b9d1 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 ' +DEFAULT_FROM_EMAIL = 'Patchwork ' + +ACCOUNT_ACTIVATION_DAYS = 7