~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to local_settings.py.sample

  • Committer: Holger Rapp
  • Date: 2010-01-02 11:29:19 UTC
  • mto: (173.2.10 widelands)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: rapp@mrt.uka.de-20100102112919-e2vd4tylal9jedrc
added local sample

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os
 
2
bd = "/some/path"
 
3
bd = os.getcwd() # Better make this a static path
 
4
 
 
5
TEMPLATE_DIRS = bd + '/templates'
 
6
STATIC_MEDIA_PATH = bd + '/media'
 
7
MEDIA_ROOT = bd + '/media/'
 
8
WIDELANDS_SVN_DIR = "/Users/sirver/Desktop/Programming/cpp/widelands/svn_trunk/"
 
9
 
 
10
DATABASE_ENGINE = 'sqlite3'   # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
 
11
DATABASE_NAME = 'dev.db'      # Or path to database file if using sqlite3.
 
12
DATABASE_USER = ''            # Not used with sqlite3.
 
13
DATABASE_PASSWORD = ''        # Not used with sqlite3.
 
14
DATABASE_HOST = ''            # Set to empty string for localhost. Not used with sqlite3.
 
15
DATABASE_PORT = ''            # Set to empty string for default. Not used with sqlite3.
 
16
 
 
17
 
 
18