Re: image rendering on the template

2013-07-15 Thread sahitya pavurala
Hi john , I searched for what you told me, but I could not find any . Could you provide a link for that . Thanks On Saturday, July 13, 2013 10:14:34 AM UTC-4, John wrote: > > On 12/07/13 22:12, sahitya pavurala wrote: > > however if i directly return the value i get the image .B

Re: image rendering on the template

2013-07-12 Thread sahitya pavurala
however if i directly return the value i get the image .But i need to render the image to a different page . How can i do this ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, s

image rendering on the template

2013-07-12 Thread sahitya pavurala
hi , here is my view for getting image : I am using a stringIO buffer for temporary storage of the image file and then rendering it to the html . def my_image(request): from matplotlib import pyplot as plt buffer = cStringIO.StringIO() width = 0.5 males = int(Mice.objects

Re: How to download the table generated in html as a file

2013-07-08 Thread sahitya pavurala
te: > > On Mon, Jul 8, 2013 at 10:30 AM, sahitya pavurala > > wrote: > > > > Hi , > > > > > > I am new to Django and I would be glad if i can get help on this . > > > > I am generating a html page where i get a table containing fields

How to download the table generated in html as a file

2013-07-08 Thread sahitya pavurala
Hi , I am new to Django and I would be glad if i can get help on this . I am generating a html page where i get a table containing fields and values of a database . I want to download this table as a file (preferably as an excel file ) . How can i do this ? Thanks for the help in advance .