view examples/project/zoo/views.py @ 11:9af906a73061

added a 404.html file and updated the testcases to run against Django svn rev 8693 (post 1.0b1)
author Victor Ng <victor@monkeybean.ca>
date Fri, 29 Aug 2008 00:46:22 -0400
parents a82369f2574e
children
line wrap: on
line source

# Create your views here.

from django.shortcuts import render_to_response

def index(request):
    return render_to_response('index.html', {'content': 'foobar'})