comparison hgscm/apps/www/views.py @ 26:b3d9cbb33d54

adding basic django project, just renders the frontpage right now
author Jesper Noehr <jesper@noehr.org>
date Sun, 15 Feb 2009 19:58:03 +0100
parents
children 7276388fc71b
comparison
equal deleted inserted replaced
22:f09aa2a0e4c8 26:b3d9cbb33d54
1 from django.shortcuts import render_to_response
2 from django.template import RequestContext
3
4 def frontpage(request):
5 return render_to_response("frontpage.html", { },
6 RequestContext(request))