add empty index
This commit is contained in:
parent
34e5a4a039
commit
8ae109f26c
3 changed files with 12 additions and 0 deletions
1
templates/index.html
Normal file
1
templates/index.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
urls.py
1
urls.py
|
@ -6,6 +6,7 @@ from django.contrib import admin
|
||||||
admin.autodiscover()
|
admin.autodiscover()
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
|
(r'^', 'oxdata.views.index'),
|
||||||
(r'^poster/', include('oxdata.poster.urls')),
|
(r'^poster/', include('oxdata.poster.urls')),
|
||||||
(r'^id/', include('oxdata.lookup.urls')),
|
(r'^id/', include('oxdata.lookup.urls')),
|
||||||
|
|
||||||
|
|
10
views.py
Normal file
10
views.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vi:si:et:sw=4:sts=4:ts=4
|
||||||
|
from django.shortcuts import render_to_response, get_object_or_404, get_list_or_404
|
||||||
|
from django.template import RequestContext
|
||||||
|
|
||||||
|
|
||||||
|
def index(request):
|
||||||
|
context = RequestContext(request, {})
|
||||||
|
return render_to_response('index.html', context)
|
||||||
|
|
Loading…
Reference in a new issue