Skip to content

Commit 92ef86d

Browse files
committed
Don't execute south migrations for the test DB
1 parent 1365ca4 commit 92ef86d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

example/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
DEBUG = True
66
TEMPLATE_DEBUG = DEBUG
77

8-
BASEDIR = os.path.dirname(__file__)
8+
BASEDIR = os.path.abspath(os.path.dirname(__file__))
99

1010
#: The directory which should contain checked out source repositories:
1111
REPOSITORY_BASE_PATH = os.path.join(BASEDIR, "repos")
@@ -113,9 +113,9 @@ def process_exception(self, request, exception):
113113
'south',
114114
'tastypie',
115115
)
116+
SOUTH_TESTS_MIGRATE = False
116117

117118
STATIC_URL = '/static/'
118-
119119
STATIC_ROOT = os.path.join(BASEDIR, "sitestatic")
120120

121121
# Codespeed settings that can be overwritten here.

0 commit comments

Comments
 (0)