summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-04-05 12:17:54 +0200
committerGuillaume Seguin <guillaume@segu.in>2008-04-05 12:17:54 +0200
commit720b44cbd92439823b4b634c3ce11379bb07c927 (patch)
tree802dd24f44b14eca0663820092784664fa33c369
parentcfefa12ae4d835576770f2fda805be219653f4b5 (diff)
downloadmarks-720b44cbd92439823b4b634c3ce11379bb07c927.tar.gz
marks-720b44cbd92439823b4b634c3ce11379bb07c927.tar.bz2
* Add database related configuration bits since we'll need it for sessions
-rw-r--r--settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 643ac04..1192bc0 100644
--- a/settings.py
+++ b/settings.py
@@ -9,6 +9,13 @@ ADMINS = (
MANAGERS = ADMINS
+DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
+DATABASE_NAME = '/var/www/marks/marks.db' # Or path to database file if using sqlite3.
+DATABASE_USER = '' # Not used with sqlite3.
+DATABASE_PASSWORD = '' # Not used with sqlite3.
+DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
+DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
+
# Local time zone for this installation. Choices can be found here:
# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
# although not all variations may be possible on all operating systems.