diff options
Diffstat (limited to 'chishop/settings.py')
-rw-r--r-- | chishop/settings.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chishop/settings.py b/chishop/settings.py index 00cf06d..ee286b5 100644 --- a/chishop/settings.py +++ b/chishop/settings.py | |||
@@ -16,6 +16,14 @@ DJANGOPYPI_RELEASE_UPLOAD_TO = 'dists' | |||
16 | # change to False if you do not want Django's default server to serve static pages | 16 | # change to False if you do not want Django's default server to serve static pages |
17 | LOCAL_DEVELOPMENT = True | 17 | LOCAL_DEVELOPMENT = True |
18 | 18 | ||
19 | REGISTRATION_OPEN = True | ||
20 | ACCOUNT_ACTIVATION_DAYS = 7 | ||
21 | LOGIN_REDIRECT_URL = "/" | ||
22 | |||
23 | EMAIL_HOST = '' | ||
24 | DEFAULT_FROM_EMAIL = '' | ||
25 | SERVER_EMAIL = DEFAULT_FROM_EMAIL | ||
26 | |||
19 | MANAGERS = ADMINS | 27 | MANAGERS = ADMINS |
20 | 28 | ||
21 | DATABASE_ENGINE = '' | 29 | DATABASE_ENGINE = '' |
@@ -77,6 +85,14 @@ MIDDLEWARE_CLASSES = ( | |||
77 | 85 | ||
78 | ROOT_URLCONF = 'urls' | 86 | ROOT_URLCONF = 'urls' |
79 | 87 | ||
88 | TEMPLATE_CONTEXT_PROCESSORS = ( | ||
89 | "django.core.context_processors.auth", | ||
90 | "django.core.context_processors.debug", | ||
91 | "django.core.context_processors.i18n", | ||
92 | "django.core.context_processors.media", | ||
93 | "django.core.context_processors.request", | ||
94 | ) | ||
95 | |||
80 | TEMPLATE_DIRS = ( | 96 | TEMPLATE_DIRS = ( |
81 | # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". | 97 | # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
82 | # Always use forward slashes, even on Windows. | 98 | # Always use forward slashes, even on Windows. |
@@ -92,5 +108,6 @@ INSTALLED_APPS = ( | |||
92 | 'django.contrib.admin', | 108 | 'django.contrib.admin', |
93 | 'django.contrib.markup', | 109 | 'django.contrib.markup', |
94 | 'django.contrib.admindocs', | 110 | 'django.contrib.admindocs', |
111 | 'registration', | ||
95 | 'djangopypi', | 112 | 'djangopypi', |
96 | ) | 113 | ) |