It did help. Thank you very much.
But the situation has changed already. :\

I'd like the Admin pages to show me only the Sections and Issues that
make sense for the Magazine I choose from the selectbox.

So, this is how my model is (sort of):

I have a Magazine class, an Issue class and a Section class.

A Magazine has many issues.
A Magazine has many sections.
Classes Section and Issue are *not* directly connected.

So,

class Section(...):
  ...
  magazine = models.ForeignKey(Magazine)


class Issue(...):
  ...
  magazine = models.ForeignKey(Magazine)

That works perfectly so far.

However, I want to add an Article, and after I choose a magazine, I
want to restrict the choices of Sections and Issues to the ones linked
to that specific magazine.

The result should be:
> User chooses 'Linux Magazine'
>> User gets to choose from all the Sections that belong to the 'Linux 
>> Magazine' instance, and *no Section* that belongs to 'Easy Linux'.
>> User gets to choose from all the Issues that belong to 'Linux Magazine', and 
>> only those.

PS: If it matters to anyone, this is for the brazilian branch of Linux
New Media AG, the publishers of Linux Magazine (international) and
Linux Magazin (Germany), and also Linux Magazine (Brazil) and Easy
Linux (Brazil).


--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to