Attachment 'views.py'

Download

   1 from django.http import HttpResponse
   2 
   3 def hello(request):
   4     html="""<html>
   5     <body>
   6     <h1>Hello, world</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 12:44:20, 5.1 KB) [[attachment:hello.tar.gz]]
  • [get | view] (2009-02-24 12:37:34, 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.