X-Git-Url: https://git.mdrn.pl/turniej.git/blobdiff_plain/db566020a374d0e81e8274ab0e5ba8061f8903ad..6796e667eb109e38e35420da5bfa44bfffd06241:/turniej/settings.py diff --git a/turniej/settings.py b/turniej/settings.py index 8687ba1..a05bb68 100644 --- a/turniej/settings.py +++ b/turniej/settings.py @@ -35,13 +35,13 @@ TIME_ZONE = None # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html -#LANGUAGE_CODE = 'pl' +LANGUAGE_CODE = 'pl' SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. -#USE_I18N = True +USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale @@ -113,6 +113,18 @@ TEMPLATE_DIRS = [ os.path.join(PROJECT_DIR, 'templates'), ] +TEMPLATE_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.contrib.messages.context_processors.messages", + "django.core.context_processors.request", +) +TEMPLATE_CONTEXT_PROCESSORS += ( +) + INSTALLED_APPS = [ #'django.contrib.auth', #'django.contrib.contenttypes', @@ -127,7 +139,10 @@ INSTALLED_APPS = [ 'south', 'piwik.django', + 'fnpdjango', 'poetry', + 'edition1', + 'edition2', ] # A sample logging configuration. The only tangible logging