· 7 years ago · Mar 17, 2018, 07:50 AM
1"""
2Copyright (C) Daniel Loewenherz, 2009. All Rights Reserved.
3"""
4
5gettext = lambda s: s
6
7DEBUG = True
8TEMPLATE_DEBUG = DEBUG
9
10ADMINS = (
11 ('Dan Loewenherz', 'dloewenherz@gmail.com'),
12)
13
14MANAGERS = ADMINS
15
16DATABASE_ENGINE = 'mysql'
17DATABASE_NAME = 'linonia'
18DATABASE_USER = 'XXXXX'
19DATABASE_PASSWORD = 'XXXXX'
20DATABASE_HOST = ''
21DATABASE_PORT = ''
22
23AUTH_PROFILE_MODULE = 'lin.UserProfile'
24
25TIME_ZONE = 'America/Chicago'
26
27LANGUAGE_CODE = 'en-us'
28
29SITE_ID = 1
30
31USE_I18N = True
32
33MEDIA_ROOT = 'media/'
34
35MEDIA_URL = '/static/'
36
37ADMIN_MEDIA_PREFIX = '/admin-media/'
38
39SECRET_KEY = '#!4oni0ebc&%@lwn^j@oz+weuq%f(6yv7$dl@r_378ippjlanw'
40
41TEMPLATE_LOADERS = (
42 'django.template.loaders.filesystem.load_template_source',
43 'django.template.loaders.app_directories.load_template_source',
44 'django.template.loaders.eggs.load_template_source',
45)
46
47MIDDLEWARE_CLASSES = (
48 'django.contrib.sessions.middleware.SessionMiddleware',
49 'django.contrib.auth.middleware.AuthenticationMiddleware',
50 'django.contrib.auth.middleware.AuthenticationMiddleware',
51 'django.middleware.common.CommonMiddleware',
52 'django.middleware.locale.LocaleMiddleware',
53)
54
55ROOT_URLCONF = 'linonia.urls'
56
57TEMPLATE_DIRS = (
58 'templates',
59)
60
61INSTALLED_APPS = (
62 'django.contrib.auth',
63 'django.contrib.contenttypes',
64 'django.contrib.sessions',
65 'django.contrib.admin',
66 'linonia.lin',
67)
68
69TEMPLATE_CONTEXT_PROCESSORS = (
70 "django.core.context_processors.auth",
71 "django.core.context_processors.i18n",
72 "django.core.context_processors.request",
73 "django.core.context_processors.media",
74)
75
76LANGUAGE_CODE = 'en'