Hello every one,

I have a form which contains group of data and I can select some of
them to take pdf file.  When I submit the form, it returns pdf file
which contains the selected data. But i need to redirect or reload the
present form after pdf file has been generated inorder to remove
previous entry(i.e data included in the pdf file ) . Here goes my
source

def getPDF(request):
      if not request.POST:
               return to html form page
      response = HttpResponse(mimetype='application/pdf')
      #some content will be added to response with the use REPORTLAB
      return response# will return pdf

This response will sent an pdf file to client side. same time i want
to reload or refresh after pdf file generation.


Thanks & Regards,
Jai
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to