On Wed, Aug 27, 2008 at 10:55 AM, Vance Dubberly <[EMAIL PROTECTED]>wrote:
> > So I want to do something I'd think would be extremely common and simple. > > user = User.objects.get(pk=data['id']) > > I want a dictionary of the model attributes/values from user. > > user_dict = { 'first_name' : 'foo', ...... > > Am I asking to much or reading to little? > > > -- > To pretend, I actually do the thing: I have therefore only pretended to > pretend. > - Jacques Derrida > > > > I think what you're looking for is http://www.djangoproject.com/documentation/db-api/#values-fields. -- Best, R --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---