Re: Subquery has too many columns

2017-02-25 Thread eltonplima
For me it's realy a bug. I need to report them? On Tuesday, February 21, 2017 at 11:55:16 PM UTC-3, eltonplima wrote: > > I tried many things, only work if I remove the annotate or > remove base_manager_name. But I need both! > > The save method is not the problem, I removed.

Re: Subquery has too many columns

2017-02-21 Thread eltonplima
manager_name should not use that >manager as related manager. It is only used when a model with a foreign > key >to ProdutoServico is saved. > > In your original exception, it looks like ProdutoServico extends a model > in sumario.models and both override the save method: > >

Re: Subquery has too many columns

2017-02-21 Thread eltonplima
February 2017 17:09:40 eltonplima wrote: > > > Base class is abstract. > > > > > > class Base(models.Model): > > > plano = models.ForeignKey(Plano) > > > > > > > > > class Meta: > > > abstract = True > > > > >

Re: Subquery has too many columns

2017-02-20 Thread eltonplima
Base class is abstract. class Base(models.Model): plano = models.ForeignKey(Plano) class Meta: abstract = True base_manager_name On Saturday, February 18, 2017 at 9:20:03 PM UTC-3, Melvyn Sopacua