Attachment 'views.py'

Download

   1 
   2 from django.http import HttpResponse
   3 
   4 def hello(request):
   5     html="""<html>
   6     <body>
   7     <h1>Hello, world</h1>
   8     </body>
   9     </html>
  10     """
  11     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.

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