~ubuntu-us-ma/us-ma-loco-site/trunk

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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Django settings for mysite project.

from moxml.config import Config

DEBUG = '%%debug%%' == 'True'
TEMPLATE_DEBUG = DEBUG

CACHE = Config( 'cache.xml', '/tmp' )
CACHE.saveOnExit()

LAUNCHPAD_EMAIL = 'doctormo+1@gmail.com'
LAUNCHPAD_PASSWORD = '%%launchpad_password%%'

ADMINS = (
    ('%%admin_name%%', '%%admin_email%%'),
)

MANAGERS = ADMINS

DATABASE_ENGINE   = '%%database_type%%'
DATABASE_NAME     = '%%database_name%%'
DATABASE_USER     = '%%database_username%%'
DATABASE_PASSWORD = '%%database_password%%'
DATABASE_HOST     = '%%database_server%%'
DATABASE_PORT     = '%%database_port%%'

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = '%%time_zone%%'

# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = '%%language_code%%'

SITE_ID = '1'

# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True

MEDIA_ROOT = '%%media_root%%'
MEDIA_URL = '%%media_url%%'
ADMIN_MEDIA_PREFIX = '/admin-media/'

MEDIA_DIRS = {
    'groupbuy'  : 'none',
    'marketing' : MEDIA_ROOT + "/images/marketing",
    'community' : MEDIA_ROOT + "/images/community",
    'news'      : MEDIA_ROOT + "/images/news",
    'project'   : MEDIA_ROOT + "/images/projects",
    'event'     : MEDIA_ROOT + "/images/events",
}

# Make this unique, and don't share it with anybody.
SECRET_KEY = '%%unique_key%%'

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',

)

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware',

)

ROOT_URLCONF = 'UbuntuMaWebsite.urls'

TEMPLATE_DIRS = (
    '%%template_dir%%',
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.humanize',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'UbuntuMaWebsite.static',
    'UbuntuMaWebsite.accounts',
    'UbuntuMaWebsite.community',
    'UbuntuMaWebsite.lpopenid',
    'moapps.news',
    'moapps.events',
    'moapps.projects',
#    'moapps.meeting',
)

ACCOUNT_ACTIVATION_DAYS = "5"
AUTH_PROFILE_MODULE = "accounts.Profile"
LOCAL_DEVELOPMENT = "True"