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

Commit 0a98e2d

Browse files
committed
improvement: update demo project for importing django_covid19 from parent dir
1 parent beb46a3 commit 0a98e2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

demo_proj/manage.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
import os
44
import sys
55

6+
# import django_covid19 from parent dir
7+
sys.path.insert(0, '..')
8+
69

710
def main():
811
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ncov.settings')

0 commit comments

Comments
 (0)