Mercurial > public > sg101
view gpp/views.py @ 293:c92fb89dbc7d
Fixed a bug where if you tried to delete a topic the new last post might be in that topic, so a cascading delete would occur and the forum would get deleted.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 29 Dec 2010 04:56:53 +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))