3d-interface/index.py

19 lines
301 B
Python
Raw Normal View History

2015-04-12 21:13:41 +02:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
2015-04-18 17:22:36 +02:00
from django import template
from django.conf import settings
2015-04-12 21:13:41 +02:00
2015-04-18 17:22:36 +02:00
settings.configure()
t = template.Template(open('index.html','r').read())
c = template.Context({})
v = t.render(c)
print('Content-type: text/html')
print()
print(v)
# Web.render('index.html')