comparison hgscm/apps/www/views.py @ 207:c1c9a4f809ba

integrated quick_start and learn_mercurial into the django project (with links). Only missing parts: A wiki-page for links to learning resources and autodetection of the most current version.
author Arne Babenhauserheide <bab@draketo.de>
date Thu, 02 Jul 2009 15:35:27 +0200
parents 307dd774a9b6
children
comparison
equal deleted inserted replaced
206:d3c0ba7f5284 207:c1c9a4f809ba
16 return render_to_response("who_uses.html", { }, 16 return render_to_response("who_uses.html", { },
17 RequestContext(request)) 17 RequestContext(request))
18 def workflow_guide(request): 18 def workflow_guide(request):
19 return render_to_response("workflow_guide.html", { }, 19 return render_to_response("workflow_guide.html", { },
20 RequestContext(request)) 20 RequestContext(request))
21 def quick_start(request):
22 return render_to_response("quick_start.html", { },
23 RequestContext(request))
24 def learn_mercurial(request):
25 return render_to_response("learn_mercurial.html", { },
26 RequestContext(request))
21 def thepage(request): 27 def thepage(request):
22 return render_to_response("thepage.html", { }, 28 return render_to_response("thepage.html", { },
23 RequestContext(request)) 29 RequestContext(request))
24 def download(request, platform, version): 30 def download(request, platform, version):
25 return HttpResponseRedirect(get_download(platform, version)['url']) 31 return HttpResponseRedirect(get_download(platform, version)['url'])