mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 14:28:03 +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:
parent
750c01e209
commit
d46a35bb89
9
web/other/views.py
Normal file
9
web/other/views.py
Normal 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,
|
||||
})
|
Loading…
Reference in New Issue
Block a user