1
by the line of code
Season.objects.filter(events_isactiveflags__is_active=True)
here events_isactiveflags__is_active=True
means events_isactiveflags is a table and is_active is a column of the table. So no such table found named events_isactiveflags . if you are trying to get active sessions you can try this code
Session.objects.filter(expire_date__gte=timezone.now())
- Can Google reCaptcha Validation Fail?
- 'QueryDict' object has no attribute 'association'
- Django. Q objects dynamicaly generate
- Django: How to return a user to correct pagination page after editing or updating?
- Admin : Select category -> show subcategory using django
Source:stackexchange.com