Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
Thanks Goran, that does exactly what I need. Regards, Nigel Legg 07914 740972 http://twitter.com/nigellegg http://uk.linkedin.com/in/nigellegg On 22 June 2013 15:42, Goran wrote: > Try to use "safe" filter in which case table will be interpreted as HTML > > {{ dftable|safe }} or as second sol

Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
That would be unnecessarily complicated and time consuming On 22 Jun 2013 21:30, "Javier Guerra Giraldez" wrote: > On Sat, Jun 22, 2013 at 9:42 AM, Goran wrote: > > Try to use "safe" filter in which case table will be interpreted as HTML > > or better, don't write html in Python. collect and or

Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
Thanks will try this. On 22 Jun 2013 15:42, "Goran" wrote: > Try to use "safe" filter in which case table will be interpreted as HTML > > {{ dftable|safe }} or as second solution, call dftable.allow_tags=True in > the view. > > On Saturday, June 22, 2013 9:35:01 AM UTC+2, Nigel Legg wrote: >> >>

Re: embedding an HTML file.

2013-06-22 Thread Javier Guerra Giraldez
On Sat, Jun 22, 2013 at 9:42 AM, Goran wrote: > Try to use "safe" filter in which case table will be interpreted as HTML or better, don't write html in Python. collect and organize the data in the view functions/classes, and express into html in the template. -- Javier -- You received this m

Re: embedding an HTML file.

2013-06-22 Thread Goran
Try to use "safe" filter in which case table will be interpreted as HTML {{ dftable|safe }} or as second solution, call dftable.allow_tags=True in the view. On Saturday, June 22, 2013 9:35:01 AM UTC+2, Nigel Legg wrote: > > I want to allow users to upload a file and then view the data from it.