Mercurial > nosedjango
comparison 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 |
comparison
equal
deleted
inserted
replaced
7:dfba3a3a4343 | 8:a82369f2574e |
---|---|
1 # Create your views here. | 1 # Create your views here. |
2 | 2 |
3 from django.shortcuts import render_to_response | |
4 | |
3 def index(request): | 5 def index(request): |
4 return 1 | 6 return render_to_response('index.html', {'content': 'foobar'}) |