Attachment 'views.py'

Download

   1 
   2 #from django.http import HttpResponse
   3 #from django.template import Context,loader
   4 
   5 from django.shortcuts import render_to_response
   6 
   7 def hello(request,who):
   8 
   9     return render_to_response('hello.html',{'who':who})
  10 
  11 def goodbye(request,who):
  12 
  13     return render_to_response('goodbye.html',{'who':who})

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.