fix(dodo): fix import error
fix import error Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
c8d5195669
commit
f3c309e38c
@ -1,5 +1,12 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# --coding:utf-8--
|
# --coding:utf-8--
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dsite.settings")
|
||||||
|
sys.path.insert(0, '../')
|
||||||
|
sys.path.insert(0, './')
|
||||||
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
get_wsgi_application()
|
||||||
|
|
||||||
from http.server import BaseHTTPRequestHandler, HTTPServer
|
from http.server import BaseHTTPRequestHandler, HTTPServer
|
||||||
import json
|
import json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user