1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 06:18:05 +00:00

Add web/other/views.py: views not related to any app will be there

Now it has site-index view
This commit is contained in:
Hidden Z 2010-10-24 13:51:04 +00:00
parent 750c01e209
commit d46a35bb89

9
web/other/views.py Normal file
View File

@ -0,0 +1,9 @@
from django.shortcuts import render_to_response
from django.template import RequestContext
from web import settings
def index(request):
return render_to_response('index.html', {
'title': settings.SITE_NAME,
'domain': settings.DOMAIN,
})