view examples/project/zoo/views.py @ 12:a6e52c3b64a8 tip

added a version code to nosedjango
author Victor Ng <victor@monkeybean.ca>
date Fri, 29 Aug 2008 14:10:47 -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'})