We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb5282 commit 1826750Copy full SHA for 1826750
tests/settings.py
@@ -2,7 +2,7 @@
2
3
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
4
5
-PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
6
BASE_DIR = os.path.dirname(PROJECT_DIR)
7
8
SECRET_KEY = 'foobar'
@@ -32,7 +32,7 @@
32
# applications which are used by default.
33
# https://docs.djangoproject.com/en/stable/ref/settings/#staticfiles-dirs
34
STATICFILES_DIRS = [
35
- os.path.join(PROJECT_DIR, "tests", "static")
+ os.path.join(BASE_DIR, "tests", "static")
36
]
37
38
ROOT_URLCONF = 'tests.urls'
0 commit comments