summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example_project/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index a5db9ecc3..e124198aa 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -10,6 +10,9 @@ DEBUG_TOOLBAR = False
TEMPLATE_DEBUG = DEBUG
SQL_DEBUG = False
+if "test" in sys.argv:
+ sys.path.insert(0, '..')
+
IMAGE_MAX_SIZE = (1024, 768)
THUMB_MAX_SIZE = (300, 300)