X-Git-Url: https://git.mdrn.pl/fnp-django-template.git/blobdiff_plain/94e4264e4ac4f8f34d2975f26a0337e6f2c35027..87776dc1caec95a6eaaf011a7356e676722a11a3:/project_name/settings/locale.py diff --git a/project_name/settings/locale.py b/project_name/settings/locale.py new file mode 100644 index 0000000..d77583d --- /dev/null +++ b/project_name/settings/locale.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- + +LANGUAGES = ( + ('pl', u'polski'), +# ('en', u'English'), +) + +# Local time zone for this installation. Choices can be found here: +# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name +# although not all choices may be available on all operating systems. +# On Unix systems, a value of None will cause Django to use the same +# 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 + +# Language code for this installation. All choices can be found here: +# http://www.i18nguy.com/unicode/language-identifiers.html +LANGUAGE_CODE = 'pl' + +# If you set this to False, Django will make some optimizations so as not +# to load the internationalization machinery. +USE_I18N = True + +# If you set this to False, Django will not format dates, numbers and +# calendars according to the current locale. +USE_L10N = True + +# If you set this to False, Django will not use timezone-aware datetimes. +USE_TZ = True