# HG changeset patch # User Nicolas DURAND # Date 1410359343 -7200 # Node ID 50af98159052556eb36dcfdc8fc30d8d34aaa6bd # Parent c9361d2d80bd8d0d05424fc99a8ae7e6136c0929 settings put back (mistake) diff -r c9361d2d80bd -r 50af98159052 src/spel/settings.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/spel/settings.py Wed Sep 10 16:29:03 2014 +0200 @@ -0,0 +1,106 @@ +DEBUG = True +TEMPLATE_DEBUG = DEBUG +CLIENT_DEBUG = DEBUG + +YUI_DEBUG = DEBUG # use expanded yui version (i.e. not -min) +YUI_DISTANT = False + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'spel', # YOUR_SETTINGS # Or path to database file if using sqlite3. + 'USER': 'spel_user', # YOUR_SETTINGS # Not used with sqlite3. + 'PASSWORD': 'spel', # YOUR_SETTINGS # Not used with sqlite3. + 'HOST': '127.0.0.1', # YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3. + 'PORT': '5432', # YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3. + } +} + +SITE_URL = "http://172.16.1.3" # YOUR_SETTINGS + +DEFAULT_FROM_EMAIL = "me@example.com" # YOUR_SETTINGS + +# destination email for the contact page +CONTACT_DEST = DEFAULT_FROM_EMAIL + +# smtp host +EMAIL_HOST = "localhost" # YOUR_SETTINGS + +TEMPLATE_STRING_IF_INVALID = "NNNNNNNNNOOOOOOOOOOOOOOO" if DEBUG else '' + +# web server writable directory to store Comt uploaded content (text images etc.) +MEDIA_ROOT = '/srv/comt/web' # YOUR_SETTINGS + +# Insert some random text here, +# it will be used to add some randomness to every crypto operation Comt does +SECRET_KEY = '5b!9*rp-=dqf)n(*31_ud6w!)zym-1)(b)a%9r!d7l&ou*f(c0' # YOUR_SETTINGS + +MEDIA_URL = '/site_media/' + +INSTALLED_APPS = ( + 'django_extensions', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.messages', + 'django.contrib.admin', + 'django.contrib.staticfiles', + 'haystack', + 'tastypie', + 'guardian', + 'taggit', + 'taggit_templatetags', + 'registration', + 'oauth_provider', + 'django_openid_consumer', + 'social_auth', + 'south', + 'sorl.thumbnail', + 'ldt', + 'ldt.core', + 'ldt.security', + 'ldt.user', + 'ldt.ldt_utils', + 'ldt.text', + 'ldt.management', + 'ldt.indexation', + 'chunked_uploads', +) + +CM_MEDIA_PREFIX = '/cmmedia/' + +ADMIN_MEDIA_PREFIX = '/media/' + +ADMINS = ( + ('Comt admin', CONTACT_DEST), +) + +MANAGERS = ADMINS +SEND_BROKEN_LINK_EMAILS = False + +SERVER_EMAIL = DEFAULT_FROM_EMAIL + +# 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. +DEFAULT_TIME_ZONE = "Europe/Paris" + +# Do not use name/email of co-ment users but rather +# those passed in the request. +# Set this parameter to True when using co-ment from +# a third-party CMS throuch co-ment API. +DECORATED_CREATORS = False + +# Set to TRUE to use Abiword for convertion form and to legacy formats. +# Set to False to use LibreOffice for convertion form and to legacy formats. +USE_ABI = True + +# Set to True if you don't want to appear in Sopinspace Piwik statistics +DISABLE_TRACKING = True + +#disable email reporting by piston +PISTON_EMAIL_ERRORS = False +