/[soapbox]/prolatio/settings.py
ViewVC logotype

Contents of /prolatio/settings.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3052 - (show annotations) (download) (as text)
Mon Oct 25 17:26:14 2010 UTC (11 years, 7 months ago) by justinas
File MIME type: text/x-python
File size: 3660 byte(s)
justino pakariavimas
1 # Django settings for prolatio project.
2
3 DEBUG = True
4 TEMPLATE_DEBUG = DEBUG
5
6 ADMINS = (
7 # ('Your Name', 'your_email@domain.com'),
8 )
9
10 MANAGERS = ADMINS
11
12 DATABASES = {
13 'default': {
14 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15 'NAME': 'prolatio', # Or path to database file if using sqlite3.
16 'USER': 'prolatio', # Not used with sqlite3.
17 'PASSWORD': 'ruders_solar_trilogy', # Not used with sqlite3.
18 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3.
19 'PORT': '', # Set to empty string for default. Not used with sqlite3.
20 }
21 }
22
23 # Local time zone for this installation. Choices can be found here:
24 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
25 # although not all choices may be available on all operating systems.
26 # On Unix systems, a value of None will cause Django to use the same
27 # timezone as the operating system.
28 # If running in a Windows environment this must be set to the same as your
29 # system time zone.
30 TIME_ZONE = 'America/Chicago'
31
32 # Language code for this installation. All choices can be found here:
33 # http://www.i18nguy.com/unicode/language-identifiers.html
34 LANGUAGE_CODE = 'en-us'
35
36 SITE_ID = 1
37
38 # If you set this to False, Django will make some optimizations so as not
39 # to load the internationalization machinery.
40 USE_I18N = True
41
42 # If you set this to False, Django will not format dates, numbers and
43 # calendars according to the current locale
44 USE_L10N = True
45
46 # Absolute path to the directory that holds media.
47 # Example: "/home/media/media.lawrence.com/"
48 MEDIA_ROOT = ''
49
50 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
51 # trailing slash if there is a path component (optional in other cases).
52 # Examples: "http://media.lawrence.com", "http://example.com/media/"
53 MEDIA_URL = ''
54
55 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
56 # trailing slash.
57 # Examples: "http://foo.com/media/", "/media/".
58 ADMIN_MEDIA_PREFIX = '/media/'
59
60 # Make this unique, and don't share it with anybody.
61 SECRET_KEY = 'orpepylxl8qnxo_#t%r&x-!)r7@va3hh#fj0nro8k85(jg!s#l'
62
63 PROLATIO_AUDIO_DIR = '/home/skirsdeda/public_html/prolatio/tests/music_tagger'
64
65 PROLATIO_TAGGER_AUDIO_EXTS = (
66 '3g2', 'aif', 'aiff', 'ape', 'asf', 'flac',
67 'oga', 'ogg', 'm4a', 'm4b', 'm4p', 'mp4',
68 'mp3', 'mpc', 'spx', 'tta', 'wav', 'wma', 'wv'
69 )
70
71 # List of callables that know how to import templates from various sources.
72 TEMPLATE_LOADERS = (
73 'django.template.loaders.filesystem.Loader',
74 'django.template.loaders.app_directories.Loader',
75 # 'django.template.loaders.eggs.Loader',
76 )
77
78 MIDDLEWARE_CLASSES = (
79 'django.middleware.common.CommonMiddleware',
80 'django.contrib.sessions.middleware.SessionMiddleware',
81 'django.middleware.csrf.CsrfViewMiddleware',
82 'django.contrib.auth.middleware.AuthenticationMiddleware',
83 'django.contrib.messages.middleware.MessageMiddleware',
84 )
85
86 ROOT_URLCONF = 'prolatio.urls'
87
88 TEMPLATE_DIRS = (
89 "/home/aks/python/prolatio/templates"
90 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
91 # Always use forward slashes, even on Windows.
92 # Don't forget to use absolute paths, not relative paths.
93 )
94
95 INSTALLED_APPS = (
96 'prolatio.music_tagger',
97 # 'django.contrib.auth',
98 # 'django.contrib.contenttypes',
99 # 'django.contrib.sessions',
100 # 'django.contrib.sites',
101 # 'django.contrib.messages',
102 # Uncomment the next line to enable the admin:
103 # 'django.contrib.admin',
104 )

tadas_AT_dailyda_DOT_com
ViewVC Help
Powered by ViewVC 1.1.8