Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit d27e05a

Browse files
committed
fix: update sys.path for demo_pro
1 parent dfc6fd2 commit d27e05a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

demo_proj/ncov/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
https://docs.djangoproject.com/en/2.2/ref/settings/
1111
"""
1212

13+
# insert project path here
14+
import sys; sys.path.insert(0, '..')
15+
1316
import os
1417

1518
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)

0 commit comments

Comments
 (0)