Skip to content

Commit

Permalink
Use an SQLlite database.
Browse files Browse the repository at this point in the history
This can be overridden in other setting files.
  • Loading branch information
akumria committed Apr 5, 2012
1 parent 924ec1a commit 63587d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
*~
*sw?
*.db
4 changes: 2 additions & 2 deletions paas/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # Or path to database file if using sqlite3.
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '%s/%s.db' % (PROJECT_DIR, PROJECT), # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
Expand Down

0 comments on commit 63587d6

Please sign in to comment.