-
Notifications
You must be signed in to change notification settings - Fork 285
/
settings.conf
43 lines (35 loc) · 1.12 KB
/
settings.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8 -*-
"""Sample configuration file.
This file includes the settings that administrators will likely change.
You can find the defaults in the ``*.conf`` files for more advanced settings.
"""
import glob
import os
from pootle.i18n.gettext import ugettext_lazy as _
POOTLE_TITLE = _(u'Pootle Translation Server')
TIME_ZONE = 'UTC'
SECRET_KEY = 'SECRETKEY'
ALLOWED_HOSTS = [
'127.0.0.1',
'localhost',
#'${your_server}',
]
POOTLE_CANONICAL_URL = "http://localhost"
DEFAULT_FROM_EMAIL = 'info@YOUR_DOMAIN.com'
POOTLE_CONTACT_EMAIL = 'info@YOUR_DOMAIN.com'
POOTLE_CONTACT_ENABLED = True
POOTLE_CONTACT_REPORT_EMAIL = 'string_errors_manager@YOUR_DOMAIN.com'
POOTLE_EMAIL_FEEDBACK_ENABLED = False
POOTLE_MARKUP_FILTER = ('markdown', {})
POOTLE_MT_BACKENDS = [
# ('CAIGHDEAN_TRANSLATE', ''),
# ('GOOGLE_TRANSLATE', ''),
# ('WELSH_TRANSLATE', ''),
# ('YANDEX_TRANSLATE', ''),
]
TEMPLATES[0]['DIRS'] = [
# working_path(os.path.join('custom', 'templates')),
]
DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql'
DATABASES['default']['NAME'] = 'pootle'
DATABASES['default']['USER'] = 'postgres'