wsgi imports
This commit is contained in:
parent
8c993c7555
commit
5ab1ec65a7
|
@ -1,4 +1,5 @@
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
|
import math
|
||||||
from models import *
|
from models import *
|
||||||
from django.http import HttpResponse
|
from django.http import HttpResponse
|
||||||
from ships import models
|
from ships import models
|
||||||
|
|
|
@ -15,7 +15,7 @@ sys.path.append(root_dir)
|
||||||
sys.path.append(os.path.join(root_dir, project_module))
|
sys.path.append(os.path.join(root_dir, project_module))
|
||||||
|
|
||||||
#reload if this django.wsgi gets touched
|
#reload if this django.wsgi gets touched
|
||||||
from oxdjango import monitor
|
from ox.django import monitor
|
||||||
monitor.start(interval=1.0)
|
monitor.start(interval=1.0)
|
||||||
|
|
||||||
monitor.track(os.path.abspath(os.path.dirname(__file__)))
|
monitor.track(os.path.abspath(os.path.dirname(__file__)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user