AttributeError at /scoutstablefilter/
type object 'ScoutTable' has no attribute '_default_manager'
Request Method: GET
Request URL: http://localhost:8000/scoutstablefilter/
Django Version: 3.0.3
Exception Type: AttributeError
Exception Value:
type object 'ScoutTable' has no attribute '_default_m
models.py
class Contact(models.Model):
gender_CHOICES = (
('M', 'Male'),
('F', 'Female'),
)
# Field name made lowercase.
id = models.IntegerField(db_column='id', primary_key=True)
# Field name made lowercase.
name = models.CharField(
db_column='name'
it will be much easier if you share your models and the error
On Wed, Mar 25, 2020 at 8:06 PM Nader Elsisi 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 onet
3 matches
Mail list logo