annotate hgscm/apps/www/views.py @ 65:57ece5687f92

Add 'about this page' site
author David Soria Parra <dsp@php.net>
date Wed, 18 Feb 2009 05:58:08 +0100
parents 7276388fc71b
children bef09338eceb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
1 from django.shortcuts import render_to_response
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
2 from django.template import RequestContext
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
3
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
4 def frontpage(request):
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
5 return render_to_response("frontpage.html", { },
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
6 RequestContext(request))
45
7276388fc71b about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
7 def about(request):
7276388fc71b about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
8 return render_to_response("about.html", { },
7276388fc71b about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
9 RequestContext(request))
65
57ece5687f92 Add 'about this page' site
David Soria Parra <dsp@php.net>
parents: 45
diff changeset
10 def thepage(request):
57ece5687f92 Add 'about this page' site
David Soria Parra <dsp@php.net>
parents: 45
diff changeset
11 return render_to_response("thepage.html", { },
57ece5687f92 Add 'about this page' site
David Soria Parra <dsp@php.net>
parents: 45
diff changeset
12 RequestContext(request))