Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: eea1ed4ee5
Fetching contributors…

Cannot retrieve contributors at this time

196 lines (147 sloc) 5.641 kb
DEBUG = True
TEMPLATE_DEBUG = DEBUG
#LOGGING_OUTPUT_ENABLED = True
# Needed to enable compression JS and CSS files
COMPRESS = True
MEDIA_URL = '/static/'
MEDIA_ROOT = 'd:/mdid/rooibos/static/'
ADMINS = (
# ('Your name', 'your@email.example'),
)
MANAGERS = ADMINS
# Settings for MySQL
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_OPTIONS = {
'use_unicode': True,
'charset': 'utf8',
}
# Settings for Microsoft SQL Server (use the appropriate driver setting)
#DATABASE_ENGINE = 'sql_server.pyodbc'
#DATABASE_OPTIONS= {
# 'driver': 'SQL Native Client', # FOR SQL SERVER 2005
# 'driver': 'SQL Server Native Client 10.0', # FOR SQL SERVER 2008
# 'MARS_Connection': True,
#}
# Settings for all database systems
DATABASE_NAME = 'rooibos' # Or path to database file if using sqlite3.
DATABASE_USER = 'rooibos' # Not used with sqlite3.
DATABASE_PASSWORD = 'rooibos' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
DEFAULT_CHARSET = 'utf-8'
DATABASE_CHARSET = 'utf8'
# 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 = 'America/Chicago'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'e#!poDuIJ}N,".K=H:T/4z5POb;Gl/N6$6a&,(DRAHUF5c",_p'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/static/admin/'
SOLR_URL = 'http://127.0.0.1:8983/solr/'
SCRATCH_DIR = 'c:/mdid-scratch/'
AUTO_STORAGE_DIR = 'c:/mdid-collections/'
# Legacy setting for ImageViewer 2 support
SECURE_LOGIN = False
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_URL = '/'
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
INTERNAL_IPS = ('127.0.0.1',)
HELP_URL = 'http://mdid.org/help/'
DEFAULT_LANGUAGE = 'en-us'
GOOGLE_ANALYTICS_MODEL = True
FLICKR_KEY = ''
FLICKR_SECRET = ''
# Set to None if you don't subscribe to ARTstor
ARTSTOR_GATEWAY = None
#ARTSTOR_GATEWAY = 'http://sru.artstor.org/SRU/artstor.htm'
OPEN_OFFICE_PATH = 'C:/Program Files/OpenOffice.org 3/program/'
GEARMAN_SERVERS = ['127.0.0.1']
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'rooibos.auth.ldapauth.LdapAuthenticationBackend',
# 'rooibos.auth.mailauth.ImapAuthenticationBackend',
# 'rooibos.auth.mailauth.PopAuthenticationBackend',
)
TEMPLATE_CONTEXT_PROCESSORS = (
# 'rooibos.context_processors.anonymous_user_setting',
)
MIDDLEWARE_CLASSES = (
'rooibos.auth.middleware.BasicAuthenticationMiddleware',
# 'rooibos.middleware.AnonymousDomainMiddleware',
)
LDAP_AUTH = (
{
'uri': 'ldap://ldap.example.edu',
'base': 'ou=People,o=example',
'cn': 'cn',
'version': 2,
'scope': 1,
'options': {'OPT_X_TLS_TRY': 1},
'attributes': ('sn', 'mail', 'givenName', 'eduPersonPrimaryAffiliation'),
'firstname': 'givenname',
'lastname': 'sn',
'email': 'mail',
},
)
IMAP_AUTH = (
{
'server': 'imap.example.edu',
'port': 993,
'domain': 'example.edu',
'secure': True,
},
)
POP_AUTH = (
{
'server': 'pop.gmail.com',
'port': 995,
'domain': 'gmail.com',
'secure': True,
},
)
SESSION_COOKIE_AGE = 6 * 3600 # in seconds
SSL_PORT = None # ':443'
# Theme colors for use in CSS
PRIMARY_COLOR = "rgb(152, 189, 198)"
SECONDARY_COLOR = "rgb(118, 147, 154)"
WWW_AUTHENTICATION_REALM = "Please log in to access media from MDID at Your University"
CUSTOM_TRACKER_HTML = ""
EXPOSE_TO_CONTEXT = ('STATIC_DIR', 'PRIMARY_COLOR', 'SECONDARY_COLOR', 'CUSTOM_TRACKER_HTML', 'ADMINS')
# The Megazine viewer is using a third party component that has commercial
# licensing requirements. To enable the component you need to enter your
# license key, which is available for free for educational institutions.
# See static/megazine/COPYING.
MEGAZINE_PUBLIC_KEY = ""
# To use a commercial licensed flowplayer, enter your flowplayer key here
# and add the flowplayer.commercial-3.x.x.swf file to the
# rooibos/static/flowplayer directory
FLOWPLAYER_KEY = ""
# MDID uses some Yahoo APIs that require an application key
# You can get one at https://developer.apps.yahoo.com/dashboard/createKey.html
YAHOO_APPLICATION_ID = ""
# By default, video delivery links are created as symbolic links. Some streaming
# servers (e.g. Wowza) don't deliver those, so hard links are required.
HARD_VIDEO_DELIVERY_LINKS = False
UPLOAD_LIMIT = 1024*1024 # upload limit in kb
additional_settings = [
# 'apps.jmutube.settings_local',
# 'apps.svohp.settings_local',
]
# if you have AnonymousDomainMiddleware enabled
# fill these out with the appropriate values (domain, username)
# domain is matched with ^%s$, user is exact match
# make sure you alse have a user that matches the username
ANONYMOUS_DOMAINS = []
# largest dimension to show to users without appropriate permissions
PROLE_SIZE_LIMIT = False
# if you want to use your own fieldset as a default
#DEFAULT_FIELDSET = "dc"
# as of Apache 2.2.3 (ours 2.2.17) uploads through HTTPS don't work, so we
# reroute them through HTTP insteadx
#INSECURE_UPLOAD = True
Jump to Line
Something went wrong with that request. Please try again.