~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to local_settings.py.sample

  • Committer: Holger Rapp
  • Date: 2011-08-24 13:09:49 UTC
  • mto: This revision was merged to the branch mainline in revision 249.
  • Revision ID: sirver@gmx.de-20110824130949-vv0yn4nq3hogq10i
Model.save() should always take args and kwargs and pass them one. Whitespace fixes. Removed dependency on Site being configured on initial run of syncdb

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
MEDIA_ROOT = bd + '/media/'
8
8
WIDELANDS_SVN_DIR = "/Users/sirver/Desktop/Programming/cpp/widelands/svn_trunk/"
9
9
 
10
 
DATABASES = {
11
 
   'default': {
12
 
      'ENGINE': 'django.db.backends.sqlite3',
13
 
      'NAME': 'dev.db',
14
 
      'USER': '',      # Not used with sqlite3.
15
 
      'PASSWORD': '',  # Not used with sqlite3.
16
 
      'HOST': '',      # Set to empty string for localhost. Not used with sqlite3.
17
 
      'PORT': '',      # Set to empty string for default. Not used with sqlite3.
18
 
   }
19
 
}
 
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.
20
16
 
21
17
 
22
18