diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2007-09-15 19:25:20 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2007-09-15 19:25:20 +0000 |
| commit | 07447a0f562c62f020f00ba1d5248c5de4c264ca (patch) | |
| tree | 6fb225ae9585ef396c36d9c4a6dfc68679c406a5 /docs | |
| parent | 201a6cc192b5484e74a16fb599d9ddfb9e6fb048 (diff) | |
Fixed #5454: settings.DATABASE_BACKEND may now refer to an external package (i.e. one located outside the Django source. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/settings.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/settings.txt b/docs/settings.txt index 97fc985175..2e6185f444 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -253,9 +253,14 @@ DATABASE_ENGINE Default: ``''`` (Empty string) -The database backend to use. Either ``'postgresql_psycopg2'``, -``'postgresql'``, ``'mysql'``, ``'mysql_old'``, ``'sqlite3'``, -``'oracle'``, or ``'ado_mssql'``. +The database backend to use. The build-in database backends are +``'postgresql_psycopg2'``, ``'postgresql'``, ``'mysql'``, ``'mysql_old'``, +``'sqlite3'``, ``'oracle'``, or ``'ado_mssql'``. + +You can also use a database backend that doesn't ship with Django by +setting ``DATABASE_ENGINE`` to a fully-qualified path (i.e. +``mypackage.backends.whatever``). Writing a whole new database backend from +scratch is left as an exercise to the reader. DATABASE_HOST ------------- |
