Mercurial > public > sg101
comparison gpp/views.py @ 19:aa2b41c5212b
First steps at scratching out a home page. Will need to develop some template tags now to fill it out.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 20:10:00 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
18:5c03abb0cd0a | 19:aa2b41c5212b |
---|---|
1 """ | |
2 This file contains views that don't belong to any specific application. | |
3 In particular, the home page view. | |
4 """ | |
5 from django.shortcuts import render_to_response | |
6 from django.template import RequestContext | |
7 | |
8 | |
9 def home(request): | |
10 """ | |
11 The home page view of the site. | |
12 """ | |
13 return render_to_response('home.html', { | |
14 }, | |
15 context_instance = RequestContext(request)) |