On Wed, Dec 2, 2015 at 2:27 AM, Billu <[email protected]> wrote:
> What I want to do is generate a HTML table (alongwith other data viz. > images, text) when somebody opens a page. > > So how would I *save *a table, i.e, what would be the keyword for it eg. > CharField, IntegerField. > > I've googled and people have written that you need to save XML data in the > database cell. If so how to do that? > > Or should I just save comma separated text and work with that, although I > guess that may be a little difficult as there are bullets and sub-bullets > in one of the columns. > > If you are just generating a table to be included later in a web page, I would store them in a TextField. If you are generating complete web pages that you want to serve statically then you can use a FileField. -- ============================================ Timothy Cook LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook MLHIM http://www.mlhim.org -- 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, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B%3DOU3Va-Tu4OTLnvOjK0am2cEdTOTzmOHmxR5kijDSCs9eCDg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

