add empty index

This commit is contained in:
j 2009-07-17 18:41:00 +02:00
parent 34e5a4a039
commit 8ae109f26c
3 changed files with 12 additions and 0 deletions

1
templates/index.html Normal file
View File

@ -0,0 +1 @@

View File

@ -6,6 +6,7 @@ from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^', 'oxdata.views.index'),
(r'^poster/', include('oxdata.poster.urls')),
(r'^id/', include('oxdata.lookup.urls')),

10
views.py Normal file
View 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)