Show More
@@ -32,7 +32,7 b" TIME_ZONE = 'Europe/Kiev'" | |||||
32 |
|
32 | |||
33 | # Language code for this installation. All choices can be found here: |
|
33 | # Language code for this installation. All choices can be found here: | |
34 | # http://www.i18nguy.com/unicode/language-identifiers.html |
|
34 | # http://www.i18nguy.com/unicode/language-identifiers.html | |
35 |
LANGUAGE_CODE = ' |
|
35 | LANGUAGE_CODE = 'en' | |
36 |
|
36 | |||
37 | SITE_ID = 1 |
|
37 | SITE_ID = 1 | |
38 |
|
38 | |||
@@ -103,8 +103,9 b' TEMPLATE_CONTEXT_PROCESSORS = (' | |||||
103 | ) |
|
103 | ) | |
104 |
|
104 | |||
105 | MIDDLEWARE_CLASSES = ( |
|
105 | MIDDLEWARE_CLASSES = ( | |
|
106 | 'django.contrib.sessions.middleware.SessionMiddleware', | |||
|
107 | 'django.middleware.locale.LocaleMiddleware', | |||
106 | 'django.middleware.common.CommonMiddleware', |
|
108 | 'django.middleware.common.CommonMiddleware', | |
107 | 'django.contrib.sessions.middleware.SessionMiddleware', |
|
|||
108 | # 'django.middleware.csrf.CsrfViewMiddleware', |
|
109 | # 'django.middleware.csrf.CsrfViewMiddleware', | |
109 | 'django.contrib.auth.middleware.AuthenticationMiddleware', |
|
110 | 'django.contrib.auth.middleware.AuthenticationMiddleware', | |
110 | 'django.contrib.messages.middleware.MessageMiddleware', |
|
111 | 'django.contrib.messages.middleware.MessageMiddleware', | |
@@ -195,4 +196,4 b' LAST_REPLIES_COUNT = 3' | |||||
195 |
|
196 | |||
196 | ENABLE_CAPTCHA = True |
|
197 | ENABLE_CAPTCHA = True | |
197 | # if user tries to post before CAPTCHA_DEFAULT_SAFE_TIME. Captcha will be shown |
|
198 | # if user tries to post before CAPTCHA_DEFAULT_SAFE_TIME. Captcha will be shown | |
198 | CAPTCHA_DEFAULT_SAFE_TIME = 30 # seconds No newline at end of file |
|
199 | CAPTCHA_DEFAULT_SAFE_TIME = 30 # seconds |
General Comments 0
You need to be logged in to leave comments.
Login now