-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmachine_settings-default.py
44 lines (36 loc) · 1.01 KB
/
machine_settings-default.py
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
44
import os.path
import re
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'xxx'
ADMIN_EMAIL = '[email protected]'
ADMIN_FIRSTNAME = 'John'
ADMINLASTNAME = 'Doe'
FRAMEWORK_PATH = os.path.dirname(os.path.dirname(__file__)) +'/'
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = '../database.db' # Or path to database file if using sqlite3.
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = ''
TIME_ZONE = 'Europe/London'
LANGUAGE_CODE = 'en'
LANGUAGES = (
('en', 'English'),
('pl', 'Polish'),
)
DEFAULT_LANGUAGE = 1
WEBDIR = 'mooshell_project/media/'
MEDIA_ROOT = os.path.join(FRAMEWORK_PATH, WEBDIR)
EMAIL_HOST = 'localhost'
TEMPLATE_DIRS = (
os.path.join(FRAMEWORK_PATH, 'mooshell/templates'),
os.path.join(FRAMEWORK_PATH, 'mooshell-project/templates'),
)
MEDIA_DIRS = (
MEDIA_ROOT,
os.path.join(FRAMEWORK_PATH, 'mooshell_project/adminmedia/')
)
# uncomment if memcached available
# CACHE_BACKEND = 'memcached://127.0.0.1:11211/'