Changeset 2569

Show
Ignore:
Timestamp:
03/11/10 09:22:00 (5 months ago)
Author:
JensDiemer
Message:

change to new DATABASE info dict:  http://docs.djangoproject.com/en/dev/ref/settings/#databases

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/pylucid_project/settings.py

    r2555 r2569  
    7474 
    7575# Database connection info. 
    76 DATABASE_ENGINE = 'sqlite3'    # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 
    77 DATABASE_NAME = 'test.db3'     # Or path to database file if using sqlite3. 
    78 DATABASE_USER = ''             # Not used with sqlite3. 
    79 DATABASE_PASSWORD = ''         # Not used with sqlite3. 
    80 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3. 
    81 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
     76DATABASES = { 
     77    'default': { 
     78        'ENGINE': 'django.db.backends.sqlite3', 
     79        'NAME': 'test.db3' 
     80    } 
     81} 
    8282 
    8383