Re: limit the foreign key select in admin

2008-09-23 Thread Ottavio Campana
On 23 Set, 13:41, Ottavio Campana <[EMAIL PROTECTED]> wrote: > Hi, I just started studying django and I'm having a problem with its > admin interface. In my model I have two classes, let's say > > class ClassA (models.Model): >     user = models.ForeignKey(User, help_text=_('ClassA owner')) >    

limit the foreign key select in admin

2008-09-23 Thread Ottavio Campana
Hi, I just started studying django and I'm having a problem with its admin interface. In my model I have two classes, let's say class ClassA (models.Model): user = models.ForeignKey(User, help_text=_('ClassA owner')) ... class ClassB (models.Model): classa = models.ForeignKey(ClassA)