Skip to content

Commit

Permalink
Fixing path on development database settings
Browse files Browse the repository at this point in the history
  • Loading branch information
emperorcezar committed Dec 3, 2011
1 parent 19e73f4 commit 276cec4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions settings/development.py
Expand Up @@ -4,7 +4,7 @@
in development and settings.production in production.
This allows you to overwrite anything in common.py
'''

import os
from common import *

DEBUG = True
Expand All @@ -13,15 +13,14 @@
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": PROJECT_ROOT + "db/dev.db", # Or path to database file if using sqlite3.
"NAME": os.path.join(SITE_ROOT, "db", "dev.db"), # 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.
"PORT": "", # Set to empty string for default. Not used with sqlite3.
}
}


# local_settings.py can be used to override environment-specific settings
# like database and email that differ between development and production.
try:
Expand Down

0 comments on commit 276cec4

Please sign in to comment.