Attachment 'views.py'
Download 1
2 from django.http import HttpResponse
3
4 def hello(request,who):
5 html="""<html>
6 <body>
7 <h1>Hello, """+who+"""</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 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]]
You are not allowed to attach a file to this page.