I am using 0.96.1, but I wanted to prepopulate a form from a model. So
I grabbed
`model_to_dict` from trunk. It works (I just had to replace `pk` with
`id`),
but, I need to be able to get data from a foreign key field.

The model is a profile, which has a ForeignKey to `User`. Is it
possible to make
`model_to_dict`, grab the `User` fields too?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to