Mercurial > public > sg101
view gpp/views.py @ 100:eb9f99382476
Forums: groups support. Some experimentation with select_related() to reduce queries. There are more opportunities for this, see the TODO comments in views.py.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 15 Sep 2009 03:15:20 +0000 |
parents | aa2b41c5212b |
children |
line wrap: on
line source
""" This file contains views that don't belong to any specific application. In particular, the home page view. """ from django.shortcuts import render_to_response from django.template import RequestContext def home(request): """ The home page view of the site. """ return render_to_response('home.html', { }, context_instance = RequestContext(request))