From dc1cc774b017b630c9ca04e126a733da5cd4110e Mon Sep 17 00:00:00 2001 From: Akshen Date: Fri, 26 May 2017 14:53:17 +0530 Subject: Testing Done --- workshop_portal/settings.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'workshop_portal/settings.py') 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 -- cgit