> > Are there better ways to do this?
> Yes.
>     owned_by = models.ForeignKey(User, limit_choices_to={ 'is_staff': True
> })
> The model documentation covers the 'limit_choices_to' argument, as
> well as the proper syntax for setting up foreign keys.

I agree, there is plenty of documentation, I'll get into it better as I 
progress. Thanks for the help on this one James.

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