Revision e646ebe5 settings.py.dist
b/settings.py.dist | ||
---|---|---|
16 | 16 |
|
17 | 17 |
DATABASES = { |
18 | 18 |
'default': { |
19 |
'ENGINE': 'sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
|
19 |
# 'postgresql_psycopg2', 'postgresql','mysql', 'sqlite3' or 'oracle' |
|
20 |
'ENGINE': 'sqlite3', |
|
20 | 21 |
# ATTENTION: This *must* be the absolute path if using sqlite3. |
21 | 22 |
# See: http://docs.djangoproject.com/en/dev/ref/settings/#name |
22 | 23 |
'NAME': PROJECT_PATH + 'database.sqlite', |
23 | 24 |
'USER': '', # Not used with sqlite3. |
24 | 25 |
'PASSWORD': '', # Not used with sqlite3. |
25 |
'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
|
26 |
'PORT': '', # Set to empty string for default. Not used with sqlite3. |
|
26 |
# Set to empty string for localhost. Not used with sqlite3. |
|
27 |
'HOST': '', |
|
28 |
# Set to empty string for default. Not used with sqlite3. |
|
29 |
'PORT': '', |
|
27 | 30 |
# Uncomment for MySQL |
28 | 31 |
#'OPTIONS': { |
29 | 32 |
# 'init_command': 'SET storage_engine=INNODB', |
... | ... | |
101 | 104 |
ROOT_URLCONF = 'synnefo.urls' |
102 | 105 |
|
103 | 106 |
TEMPLATE_DIRS = ( |
104 |
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
|
107 |
# Put strings here, like "/home/html/django_templates" |
|
108 |
# or "C:/www/django/templates". |
|
105 | 109 |
# Always use forward slashes, even on Windows. |
106 | 110 |
# Don't forget to use absolute paths, not relative paths. |
107 | 111 |
) |
... | ... | |
121 | 125 |
'synnefo.ganeti', |
122 | 126 |
) |
123 | 127 |
|
124 |
GANETI_CLUSTER_INFO = ("62.217.120.78",5080,"synnefo","ocean!") |
|
125 |
BACKEND_PREFIX_ID = "snf-" #ganeti needs each machine to have a unique name |
|
128 |
GANETI_CLUSTER_INFO = ("62.217.120.78", 5080, "synnefo", "ocean!") |
|
129 |
|
|
130 |
# ganeti requires each machine to have a unique name |
|
131 |
BACKEND_PREFIX_ID = "snf-" |
|
126 | 132 |
|
127 | 133 |
LANGUAGES = ( |
128 | 134 |
('el', u'Ελληνικά'), |
129 | 135 |
('en', 'English'), |
130 | 136 |
) |
131 | 137 |
|
132 |
AUTH_PROFILE_MODULE = 'synnefo.OceanUser'
|
|
133 |
#needed for django. this is the class that implements the User system. We use this to allow users to add stuff for themselves (about, image etc)
|
|
138 |
# needed for django. this is the class that implements the User system.
|
|
139 |
# We use this to allow users to add stuff for themselves (about, image etc) |
|
134 | 140 |
#http://docs.djangoproject.com/en/dev/topics/auth/#auth-profiles |
141 |
AUTH_PROFILE_MODULE = 'synnefo.OceanUser' |
|
142 |
|
|
143 |
# after this time passes and the client gets no response, |
|
144 |
# it raises an alert that there are network problems |
|
145 |
TIMEOUT = 10 * 1000 |
|
135 | 146 |
|
136 |
TIMEOUT = 10*1000 |
|
137 |
#after this time passes and the client gets no response, it raises an alert that there are network problems |
|
138 | 147 |
POLL_LIMIT = 3600 |
139 | 148 |
#maximum number of seconds, needed for server and images polling |
140 | 149 |
|
Also available in: Unified diff