Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 585 | Blame | Compare with Previous | Last modification | View Log | RSS feed


# Copy this file to settings_local.py and adjust the following 
# settings.

DATABASE_ENGINE = 'postgresql'   # 'postgresql', 'mysql', 'sqlite3' or 
                                 # 'ado_mssql'.
DATABASE_NAME = 'communitydraft' # Or path to database file if using sqlite3.
DATABASE_USER = 'django'         # Not used with sqlite3.
DATABASE_PASSWORD = 'test'       # Not used with sqlite3.
DATABASE_HOST = '127.0.0.1'      # Set to empty string for localhost. Not 
                                 # used with sqlite3.
DATABASE_PORT = ''               # Set to empty string for default. Not 
                                 # used with sqlite3.

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

CACHE_BACKEND = 'locmem:///'



# You can configure this to make every subdomain refer to it's own community 'Group'
SPH_HOST_MIDDLEWARE_URLCONF_MAP = {
    r'^(?P<groupName>\w+).localhost.*$': { 'urlconf': 'urlconfs.community_urls', },
    '.*': { 'urlconf': 'urlconfs.community_urls',
            'params': { 'groupName': 'example' } },
}