Attachment 'views.py'

Download

   1 from django.http import HttpResponse
   2 
   3 def hello(request,who):
   4     html="""<html>
   5     <body>
   6     <h1>Hello, """+who+"""</h1>
   7     </body>
   8     </html>
   9     """
  10     return(HttpResponse(html))

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-02-24 13:56:20, 5.2 KB) [[attachment:hello_v2.tar.gz]]
  • [get | view] (2009-02-24 13:10:28, 0.2 KB) [[attachment:views.py]]
 All files | Selected Files: delete move to page copy to page

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