~chipaca/unity-lens-video/custom-user-agent

2 by Janos Gyerik
added most base files, nothing visible yet
1
# Django settings for bashoneliners project.
2
3
import os
4
DIRNAME = os.path.abspath(os.path.dirname(__file__))
5
6
DEBUG = True
7
TEMPLATE_DEBUG = DEBUG
8
9
ADMINS = (
10
    # ('Your Name', 'your_email@domain.com'),
11
)
12
13
MANAGERS = ADMINS
14
15
DATABASES = {
16
    'default': {
17
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
18
        'NAME': 'sqlite3.db',                      # Or path to database file if using sqlite3.
19
        'USER': '',                      # Not used with sqlite3.
20
        'PASSWORD': '',                  # Not used with sqlite3.
21
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
22
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
23
    }
24
}
25
26
# Local time zone for this installation. Choices can be found here:
27
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
28
# although not all choices may be available on all operating systems.
29
# On Unix systems, a value of None will cause Django to use the same
30
# timezone as the operating system.
31
# If running in a Windows environment this must be set to the same as your
32
# system time zone.
33
TIME_ZONE = 'Europe/Paris'
34
35
# Language code for this installation. All choices can be found here:
36
# http://www.i18nguy.com/unicode/language-identifiers.html
37
LANGUAGE_CODE = 'en-us'
38
39
SITE_ID = 1
40
41
# If you set this to False, Django will make some optimizations so as not
42
# to load the internationalization machinery.
43
USE_I18N = True
44
45
# If you set this to False, Django will not format dates, numbers and
46
# calendars according to the current locale
47
USE_L10N = True
48
49
# Absolute path to the directory that holds media.
50
# Example: "/home/media/media.lawrence.com/"
51
MEDIA_ROOT = os.path.join(DIRNAME, 'media/www/')
52
53
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
54
# trailing slash if there is a path component (optional in other cases).
55
# Examples: "http://media.lawrence.com", "http://example.com/media/"
56
MEDIA_URL = '/media/www/'
57
58
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
59
# trailing slash.
60
# Examples: "http://foo.com/media/", "/media/".
61
ADMIN_MEDIA_PREFIX = '/admin_media/'
62
63
# Make this unique, and don't share it with anybody.
64
SECRET_KEY = '06@udwbt7b*dxb2cpq+ly8b1kn-(5bb2jae949%*yz48t-$+dm'
65
66
# List of callables that know how to import templates from various sources.
67
TEMPLATE_LOADERS = (
68
    'django.template.loaders.filesystem.Loader',
69
    'django.template.loaders.app_directories.Loader',
70
#     'django.template.loaders.eggs.Loader',
71
)
72
73
MIDDLEWARE_CLASSES = (
74
    'django.middleware.common.CommonMiddleware',
75
    'django.contrib.sessions.middleware.SessionMiddleware',
76
    'django.middleware.csrf.CsrfViewMiddleware',
77
    'django.contrib.auth.middleware.AuthenticationMiddleware',
78
    'django.contrib.messages.middleware.MessageMiddleware',
79
)
80
81
ROOT_URLCONF = 'bashoneliners.urls'
82
83
TEMPLATE_DIRS = (
84
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
85
    # Always use forward slashes, even on Windows.
86
    # Don't forget to use absolute paths, not relative paths.
87
    'templates',
88
)
89
90
INSTALLED_APPS = (
91
    'django.contrib.auth',
92
    'django.contrib.contenttypes',
93
    'django.contrib.sessions',
94
    'django.contrib.sites',
95
    'django.contrib.messages',
96
    'django.contrib.admin',
97
    'django.contrib.admindocs',
98
    'bashoneliners.main',
99
)
100
101
102
''' project specific custom settings '''
103
104
105
106
# eof