Re: problem with a grph image in template

2011-08-18 Thread Reinout van Rees
On 17-08-11 21:32, smartaz wrote: if I call this view for an url: (r $' ^plot / image.png ', 'contact ') which comes from a form where I put {% csrf_token %} the graph is correctly displayed as picture in a page html http: // 127.0.0.1:8000 / graphs / contact / image.png That url doesn't

problem with a grph image in template

2011-08-17 Thread smartaz
good night and first my excuses for my English!! after several research days I still do not succeed in solving a probleme of billing of a graph generated with matplotlib and pil in another view to be more definite I have a view plot(request) which generates a graph canvas.draw () pil_image =