annotate 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
rev   line source
0
ff263bdd455e initial checkin
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
1 # Create your views here.
ff263bdd455e initial checkin
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
2
8
a82369f2574e http client tests
Victor Ng <victor@monkeybean.ca>
parents: 0
diff changeset
3 from django.shortcuts import render_to_response
a82369f2574e http client tests
Victor Ng <victor@monkeybean.ca>
parents: 0
diff changeset
4
0
ff263bdd455e initial checkin
Victor Ng <victor@monkeybean.ca>
parents:
diff changeset
5 def index(request):
8
a82369f2574e http client tests
Victor Ng <victor@monkeybean.ca>
parents: 0
diff changeset
6 return render_to_response('index.html', {'content': 'foobar'})