Enable tagging questions.
[prawokultury.git] / prawokultury / settings.d / 30-locale.py
1 # -*- coding: utf-8 -*-
2
3 LANGUAGES = (
4     ('pl', u'polski'),
5     ('en', u'English'),
6 )
7
8 LOCALE_PATHS = [
9     path.join(PROJECT_DIR, 'prawokultury/locale-contrib')
10 ]
11
12 # Local time zone for this installation. Choices can be found here:
13 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
14 # although not all choices may be available on all operating systems.
15 # On Unix systems, a value of None will cause Django to use the same
16 # timezone as the operating system.
17 # If running in a Windows environment this must be set to the same as your
18 # system time zone.
19 TIME_ZONE = None
20
21 # Language code for this installation. All choices can be found here:
22 # http://www.i18nguy.com/unicode/language-identifiers.html
23 LANGUAGE_CODE = 'pl'
24
25 # If you set this to False, Django will make some optimizations so as not
26 # to load the internationalization machinery.
27 USE_I18N = True
28
29 # If you set this to False, Django will not format dates, numbers and
30 # calendars according to the current locale.
31 USE_L10N = True
32
33 # If you set this to False, Django will not use timezone-aware datetimes.
34 USE_TZ = True
35
36 FORMAT_MODULE_PATH = "prawokultury.formats"
37
38 CONTRIB_LOCALE_APPS = [
39     'django_comments_xtd',
40     'taggit_autosuggest'
41 ]