Saturday, July 17, 2010

Best way to get data into a HTML table?

Hello,
Just learning about Django, and I would like to know what the best
way to generate a table from my data, similar to what the "admin" app
does. I attempted to dig into the source of the admin app, but I was
unable to achieve much.

I don't want to create a template that has for loops that list all of
my data model's fields, instead, i want it to somehow generate all of
the public fields in my data model.

Any help is greatly appreciated, thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate