adding djangorest_alchemy to path for example project

parent d25669e6
......@@ -3,6 +3,8 @@ import os
import sys
if __name__ == "__main__":
sys.path.append(os.path.abspath(os.path.join(__file__, '..')))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment