On Tue, Jul 12, 2011 at 10:55 PM, Lukich <luk...@gmail.com> wrote: > Hi. I have just started diving into Django and this question came up > - is there a way for me to examine all the attribute values of an > object? In Rails there's such a thing as debug statement which spits > out all the details about the object. From what I have seen so far in > Django, I can either do a __unicode__() trick, but it forces me to > specify which attribute to show. I also read about dir() and > __dict__, but they show me sets of attributes without their values. Is > there something I'm missing? Thank you! >
What would be the probable use-case? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.