Tuesday, December 1, 2015

How to save a table in a cell in django models.

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. 

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/241aee75-ad5a-4580-be92-84de386b4764%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment