further refoctor default render

This commit is contained in:
Usman Nasir
2021-03-03 21:15:23 +05:00
parent b9e0a29a37
commit 8dde79dead
5 changed files with 3 additions and 13 deletions

View File

@@ -1,13 +1,8 @@
#!/usr/local/CyberCP/bin/python
import os
import os.path
import sys
import django
import mimetypes
from plogical.httpProc import httpProc
sys.path.append('/usr/local/CyberCP')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
django.setup()