summaryrefslogtreecommitdiff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index a8e0277e95..7cd4c3f784 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -695,6 +695,9 @@ project.")
(or
(not tests?)
(begin
+ (setenv "PYTHONPATH"
+ (string-append (getcwd) ":"
+ (getenv "PYTHONPATH")))
(setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
(invoke "django-admin" "test" "tests"))))))))
(propagated-inputs