Re: save data from html table

2013-07-16 Thread Bill Freeman
I presume that you mean an HTML table. Didn't you already have to have the data in order to render the template? Or are you using a template that someone else has rendered, that you have, in python, as a string? If this, then there are many libraries that can parse a DOM for you. If it is XHTML

Re: save data from html table

2013-07-16 Thread Lukas Nemec
Alright, so you have some rendered table in template, and you want to get it back to view? That is the other way around I'm afraid... request | DB -> model -> urlconf - > view -> template -> response this is how the django respond

Re: save data from html table

2013-07-16 Thread Randa Hisham
my problem not to save to database but is how to get data from template On Tue, Jul 16, 2013 at 3:03 PM, Lukas Nemec wrote: > That depends, you could use django.db models to access that table, > but that depends on the table - there is a ton of information on this > subject here: > > https://d

Re: save data from html table

2013-07-16 Thread Lukas Nemec
That depends, you could use django.db models to access that table, but that depends on the table - there is a ton of information on this subject here: https://docs.djangoproject.com/en/dev/topics/db/models/ Or, you could write a custom SQL that would fetch exactly the data you want, and save

save data from html table

2013-07-16 Thread Randa Hisham
if i have dynami table in my template contain data wht is the best way to save this data from table to view -- Randa Hesham Software Developer Twitter:@ro0oraa FaceBook:Randa Hisham ٍ -- You received this message because you