>On Wed Dec 12 11:13 , Milan Andric <[EMAIL PROTECTED]> wrote:
> Is there an easy way to print an object in html?  Basically with display 
> names and manytomany relationships resolved.  (just for viewing)
> I was thinking to write something like model_to_dict(obj)  that resolves a 
> bunch of stuff and makes it more readable.
> But returns a big html string similar to printing a form but without input 
> fields.  Anything like that exist already?

Have you considered Python's "Pretty Print" module?

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to