diff options
| -rw-r--r-- | scanneerjammer/settings.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scanneerjammer/settings.py b/scanneerjammer/settings.py index d1c0426..1d7e5a5 100644 --- a/scanneerjammer/settings.py +++ b/scanneerjammer/settings.py @@ -1,3 +1,5 @@ +import os + # Django settings for scanneerjammer project. DEBUG = True @@ -11,8 +13,8 @@ MANAGERS = ADMINS 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': os.path.join(os.path.dirname(__file__), '..', 'sqlite.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. @@ -119,7 +121,7 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.staticfiles', # Uncomment the next line to enable the admin: - # 'django.contrib.admin', + 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', ) |
