On Thu, 2006-07-06 at 18:09 -0700, GrumpySimon wrote: > Unfortunately, this gives you a dictionary and not an object ( and so > you lose all the cool object methods like get_absolute_url, get_FOOsets > etc ). Is there a way around this I'm missing?
Either you get an object fully initialised or you get a dictionary of part of the value set. You cannot have a partially initialised object, because the attributes in the class are normal Python attributes, not special lazy-loading classes. So you have to make a choice. But you can't have partially initialised objects. Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---