List Info

Thread: Dependent Fields in Admin




Dependent Fields in Admin
user name
2006-03-31 02:25:15
In my admin I am trying to create a new object, A.  A has a
FK to B,
which has a FK to Category, as shown:  A -> B->
Category.  The problem
is that when I create a new A object in my admin, it only
shows a drop
down for B, and there you can have multiple B titles, but
just not for
the same Category.

So what I need in my create new A object admin is a way to
select a
Category from a selection list, then it fills in the B list
(all Bs for
that category).  This way I can make sure I'm selecting the
proper B.

How can I do this in the admin?

(The other alternative would be to have A as inline in B,
but I'm going
to have about 1000+ A's.)

Let me know if there are any alternatives as well.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )