Wiadomość napisana w dniu 2008-08-27, o godz. 07:25, przez Vance
Dubberly:
> 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'
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' : 'fo
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 th
3 matches
Mail list logo