source: examples/settings_local.py @ bd5637b94e012b167d9a7db0afe6a6b77820770d

Revision bd5637b94e012b167d9a7db0afe6a6b77820770d, 826 bytes checked in by Stanislaw Klekot <dozzie@…>, 7 years ago (diff)

Added example of settings_local.py.

  • Property mode set to 100644
Line 
1#!/usr/bin/python
2#
3# DashWiki local configuration
4#
5
6from dashwiki.settings import DASHWIKI_ROOT_DIR
7
8SECRET_KEY = '...' # 50 characters from [a-z0-9!@#$%^&*(-_=+)]
9#DASHWIKI_LOGGING_CONFIG = '%s/logging.yaml' % (DASHWIKI_ROOT_DIR)
10#DASHWIKI_CACHE_ROOT     = '%s/cache' % (DASHWIKI_ROOT_DIR)
11#DATABASES = {
12#  'default': {
13#    'ENGINE': 'django.db.backends.sqlite3',
14#    'NAME': '%s/db/dashwiki.db' % (DASHWIKI_ROOT_DIR),
15#  }
16#}
17
18# if you have DEBUG = False (the default), you need to set valid hostnames
19# for HTTP server running DashWiki (they say you don't want to set it to '*')
20#DEBUG = False
21#ALLOWED_HOSTS = ['localhost']
22
23# example of how to add path to one of the lists:
24#from dashwiki.settings import DASHWIKI_PLUGINS_DIR
25#DASHWIKI_PLUGINS_DIR += (
26#  '%s/local/plugins' % DASHWIKI_ROOT_DIR,
27#)
28
29# vim:ft=python
Note: See TracBrowser for help on using the repository browser.