-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
44 lines (34 loc) · 986 Bytes
/
settings.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
DEBUG = True
ADMINS = (
('MusicHub Admin', '[email protected]'),
)
MANAGERS = ADMINS
LANGUAGE_CODE = 'en-us'
SITE_ID = 1
USE_I18N = False
TIME_ZONE = 'Europe/Bucharest'
MEDIA_URL = '/media/model-files/'
ADMIN_MEDIA_PREFIX = '/media/admin/'
from localsettings import *
TEMPLATE_DEBUG = DEBUG
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = MUSIC_HUB_FOLDER + 'db.sqlite'
MEDIA_ROOT = MUSIC_HUB_FOLDER + 'files/'
TEMPLATE_LOADERS = (
'django.template.loaders.app_directories.load_template_source',
)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.transaction.TransactionMiddleware',
)
ROOT_URLCONF = 'music_hub.urls'
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django_evolution',
'music_hub',
)