On Fri, Oct 17, 2008 at 12:23 AM, AmanKow <[EMAIL PROTECTED]> wrote:
> I need to limit choices dynamically by an object, not a class:
....
> When adding or changing a
> participation object, either in the admin or via model forms, I need
> to limit the choices for cert type to those offered by the the
> participation's activity topic.

Wouldn't it make more sense to limit them in the admin or the forms
instead of limiting them right in the models? The act of selecting an
activity topic in a form is form specific, the models don't (and
probably don't need to) have any knowledge of that.

Ronny

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