Attachment 'views.py'

Download

   1 #from django.http import HttpResponse
   2 #from django.template import Context,loader
   3 
   4 from django.shortcuts import render_to_response
   5 
   6 def hello(request,who):
   7 
   8     return render_to_response('hello.html',{'who':who})
   9 
  10 def goodbye(request,who):
  11     
  12     return render_to_response('goodbye.html',{'who':who})

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-03-03 10:01:45, 4.9 KB) [[attachment:hello_v5.tar.gz]]
  • [get | view] (2009-03-03 09:54:52, 0.3 KB) [[attachment:views.py]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.