Skip to content

Commit 78693d1

Browse files
tutorialResolver Systems
authored andcommitted
Django unit tests now running. By Giles & Hansel.
1 parent 3f70876 commit 78693d1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

server/settings.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Django settings for server project.
2+
import os
23

34
DEBUG = True
45
TEMPLATE_DEBUG = DEBUG
@@ -11,8 +12,8 @@
1112

1213
DATABASES = {
1314
'default': {
14-
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15-
'NAME': '', # Or path to database file if using sqlite3.
15+
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
16+
'NAME': os.path.join(os.path.dirname(__file__), 'tut.sqlite'),
1617
'USER': '', # Not used with sqlite3.
1718
'PASSWORD': '', # Not used with sqlite3.
1819
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
@@ -27,7 +28,7 @@
2728
# timezone as the operating system.
2829
# If running in a Windows environment this must be set to the same as your
2930
# system time zone.
30-
TIME_ZONE = 'America/Chicago'
31+
TIME_ZONE = 'UTC'
3132

3233
# Language code for this installation. All choices can be found here:
3334
# http://www.i18nguy.com/unicode/language-identifiers.html

0 commit comments

Comments
 (0)