diff options
author | Akshen | 2017-05-26 14:53:17 +0530 |
---|---|---|
committer | Akshen | 2017-05-30 15:04:48 +0530 |
commit | dc1cc774b017b630c9ca04e126a733da5cd4110e (patch) | |
tree | 255c176ef4f8867d698f3dedd82d568131b436da /workshop_portal | |
parent | 83d0d398fa81515ce2b6033a6f4e642e04c34a28 (diff) | |
download | workshop_booking-dc1cc774b017b630c9ca04e126a733da5cd4110e.tar.gz workshop_booking-dc1cc774b017b630c9ca04e126a733da5cd4110e.tar.bz2 workshop_booking-dc1cc774b017b630c9ca04e126a733da5cd4110e.zip |
Testing Done
Diffstat (limited to 'workshop_portal')
-rw-r--r-- | workshop_portal/settings.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/workshop_portal/settings.py b/workshop_portal/settings.py index 20bb4b5..66ba5f1 100644 --- a/workshop_portal/settings.py +++ b/workshop_portal/settings.py @@ -10,7 +10,7 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ -import os +import os, sys from local_settings import ( EMAIL_HOST, EMAIL_PORT, @@ -82,13 +82,15 @@ WSGI_APPLICATION = 'workshop_portal.wsgi.application' # Database # https://docs.djangoproject.com/en/1.10/ref/settings/#databases - DATABASES = { - 'default': { + 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'TEST': { + 'NAME': 'mytestdatabase', + }, + } } -} # Password validation |