diff examples/project/zoo/views.py @ 8:a82369f2574e

http client tests
author Victor Ng <victor@monkeybean.ca>
date Thu, 28 Aug 2008 12:42:31 -0400
parents ff263bdd455e
children
line wrap: on
line diff
--- a/examples/project/zoo/views.py	Thu Aug 28 12:04:55 2008 -0400
+++ b/examples/project/zoo/views.py	Thu Aug 28 12:42:31 2008 -0400
@@ -1,4 +1,6 @@
 # Create your views here.
 
+from django.shortcuts import render_to_response
+
 def index(request):
-    return 1
+    return render_to_response('index.html', {'content': 'foobar'})