hi there

I'm in dire need of a good idea. django drives me crazy with its
foreignkey-resolver.

class person(models.Model):
    name ...
    firstname ....
    ....
    ....

class participant(models.Model):
    group ......
    person(foreignkey(person))
    funk ...

I want to show 'participant' using the ModelForm-feature. From model
'person' I need name and firstname only (or __unicode__) of the
particular participant, but django delivers the entire table 'person'
which is an unnecessary overkill (especially with several FKs in
'participant'). There must be an option to avoid this behaviour!?

thanks for any ideas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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