When using the filter method the "deleted__isnull" is not working. I have foreign key relations in the table which are already not handled by default. So i tried to handle it manually via the filter method.
count = feed.service.filter(deleted__isnull=True).count()
The deleted field is showing up in the table and the deleted method does soft delete the record.
When using the filter method the "deleted__isnull" is not working. I have foreign key relations in the table which are already not handled by default. So i tried to handle it manually via the filter method.
count = feed.service.filter(deleted__isnull=True).count()The deleted field is showing up in the table and the deleted method does soft delete the record.