Wednesday, March 25, 2020

Re: no default manager for tables2 object

it will be much easier if you share your models and the error

On Wed, Mar 25, 2020 at 8:06 PM Nader Elsisi <naderelsisi@gmail.com> wrote:
I have a tables2 table. And I got this error. I searched the net and followed a lot 
But couldn't fix it.

The tables2 object is for a inherited model and linked through onetoone foreign key.

The main object table2 is working fine. But this inherited model has more attributes and fewer objects than the main object.


I checked the naming of fields.
Tried to setup the default manager.

Thanks for your help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BkREvpv1g-7JzCYNSzjvVXJ7cQwt14pMuimf_NSuspEABucXQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHV4E-fXbM3ET6oQyX66pe6n%2B%3DPN_8koPTzhOYb-1EFoi9MRtQ%40mail.gmail.com.

No comments:

Post a Comment