Re: ManyToMany Relation and the Admin interface

2006-10-18 Thread Lutz Steinborn
Hello, On Wed, 18 Oct 2006 16:48:51 +0200 "Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote: > > By default, all fields are obligatory. You have to set > categories = models.ManyToManyField('self', blank=True) > to escape from that problem. now its working. Many thanks ! Kindly regards Lutz http:

Re: ManyToMany Relation and the Admin interface

2006-10-18 Thread Aidas Bendoraitis
By default, all fields are obligatory. You have to set categories = models.ManyToManyField('self', blank=True) to escape from that problem. Good luck! Aidas Bendoraitis [aka Archatas] On 10/18/06, Lutz Steinborn <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to figure out how a ManyToMany

ManyToMany Relation and the Admin interface

2006-10-18 Thread Lutz Steinborn
Hello, I'm trying to figure out how a ManyToMany Relation work. My Example: class Category(models.Model): class Admin: pass class Meta: ordering = ('sort', 'name') name = models.CharField(maxlength=250, default='') description =