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.- [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]]
You are not allowed to attach a file to this page.