On 5/5/2009 12:47 AM, bweiss wrote:
> So to enter a Qualification obtained, users choose a name from the 
> data in the Employee table, and a Qualification Type from the data in
>  that table, and then enter the remaining details (eg.  date 
> obtained, expiry date).

Also the Qualification table is an "intermediate" many-to-many table. 
You might want ot model it as such so your domain is more accurately 
reflected.

I haven't tested it yet, but it might be the case that if you do this, 
Django will perform the outer join for you automatically when you use 
your original exclude filter.

See:
<http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships>

-- 
George

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