summaryrefslogtreecommitdiffstats
path: root/local_settings.py.example
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-09-08 16:59:29 +0200
committerDan McGee <dan@archlinux.org>2012-09-08 18:10:28 +0200
commit01a64613eea1ccf5bdb1c7c9b563c9c9597bab74 (patch)
treea7bd808215630082dfa816bc4445180c9f6f85fb /local_settings.py.example
parent585b53a52a441761690ef81cd293597f38fa8a2f (diff)
downloadarchweb-01a64613eea1ccf5bdb1c7c9b563c9c9597bab74.tar.gz
archweb-01a64613eea1ccf5bdb1c7c9b563c9c9597bab74.tar.xz
local_settings.py: Add sqlite example
Sqlite should be sufficient for testing so make it the default. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'local_settings.py.example')
-rw-r--r--local_settings.py.example20
1 files changed, 14 insertions, 6 deletions
diff --git a/local_settings.py.example b/local_settings.py.example
index b8407d3..df14152 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -14,14 +14,22 @@ ADMINS = (
)
## PostgreSQL Database settings
+#DATABASES = {
+# 'default': {
+# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
+# 'NAME' : 'archlinux',
+# 'USER' : 'archlinux',
+# 'PASSWORD': 'archlinux',
+# 'HOST' : '',
+# 'PORT' : '',
+# },
+#}
+
+## Sqlite Database settings
DATABASES = {
'default': {
- 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
- 'NAME' : 'archlinux',
- 'USER' : 'archlinux',
- 'PASSWORD': 'archlinux',
- 'HOST' : '',
- 'PORT' : '',
+ 'ENGINE' : 'django.db.backends.sqlite3',
+ 'NAME' : 'database.db',
},
}