Django

Code

Changeset 879

Show
Ignore:
Timestamp:
10/14/05 20:37:16 (3 years ago)
Author:
adrian
Message:

Fixed #225 -- Added first stab at MS SQL Server support (via ADO). Thanks to gmilas@gmail.com for the patch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/conf/global_settings.py

    r870 r879  
    4646 
    4747# Database connection info. 
    48 DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', or 'sqlite3'. 
    49 DATABASE_NAME = '' 
    50 DATABASE_USER = '' 
    51 DATABASE_PASSWORD = '' 
    52 DATABASE_HOST = ''             # Set to empty string for localhost. 
    53 DATABASE_PORT = ''             # Set to empty string for default. 
     48DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 
     49DATABASE_NAME = ''             # Or path to database file if using sqlite3. 
     50DATABASE_USER = ''             # Not used with sqlite3. 
     51DATABASE_PASSWORD = ''         # Not used with sqlite3. 
     52DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3. 
     53DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
    5454 
    5555# Host for sending e-mail. 
  • django/trunk/django/conf/project_template/settings/main.py

    r858 r879  
    1111LANGUAGE_CODE = 'en-us' 
    1212 
    13 DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', or 'sqlite3'. 
     13DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 
    1414DATABASE_NAME = ''             # Or path to database file if using sqlite3. 
    1515DATABASE_USER = ''             # Not used with sqlite3.