Thanks for the patch ChaosKCW,

I still can't get this to work though,
    pa = models.ForeignKey("self", blank=True, null=True,
limit_choices_to = {'groups__exact' : 'Administration'})      # PA for
this person

I'm now getting mesages about an m2m table not existing.

What I'd like to do is something like

limit_choices_to = {'WorkGroups.groupName__exact' : 'Administrator'}

but that returns "Cannot resolve keyword 'WorkGroup.groupName' into
field".

thanks for any help,
Cheers,
Tone


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to