'OPTIONS': {
'context_processors': [
"django.contrib.auth.context_processors.auth",
- "django.core.context_processors.debug",
- "django.core.context_processors.i18n",
- "django.core.context_processors.media",
- "django.core.context_processors.static",
- "django.core.context_processors.tz",
+ "django.template.context_processors.debug",
+ "django.template.context_processors.i18n",
+ "django.template.context_processors.media",
+ "django.template.context_processors.static",
+ "django.template.context_processors.tz",
"django.contrib.messages.context_processors.messages",
- 'django.core.context_processors.request',
+ 'django.template.context_processors.request',
'prawokultury.context_processors.registration_url',
],
},
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
-TIME_ZONE = None
+TIME_ZONE = 'Europe/Warsaw'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
url(r'^accounts/login/$', django_cas.views.login),
url(r'^accounts/logout/$', django_cas.views.logout),
] + i18n_patterns(
- url(r'^comments/', include('django_comments_xtd.urls')),
url(r'^contact/', include('contact.urls')),
) + migdal_urlpatterns