-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 01, 2006 at 07:43:47PM +0530, Chetan Vaity wrote: > Now, how can I get the human readble name of the member "freshness" for the > object "v" > I tried exploring v.__class__, v._meta, etc. but no luck.
I think v.__class__.__name__ is what you're looking for. It's a Python design feature, not a Django thing. - -- Peter Harkins - http://push.cx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: If you don't know what this is, it's OK to ignore it. iD8DBQFEBdGla6PWv6+ALKoRAq3WAJ9aVWX7ODApYCOD0xkdON9yhR9LlQCfetfT ogYSN67x7kqEd8itJB5pgUk= =+lwr -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---