0👍
Maybe it is some sqlite specific problem, but actually I don’t know. Just some idea’s what I would do.
You could take a look at the actual SQL query and check if it is correct:
# print PrivateMessage.objects.filter(deleted_from=False).query
Check what’s the values and types of the deleted_from
model field:
# [(m.deleted_from, type(m.deleted_from)) for m in PrivateMessage.objects.all()]
👤Haes
- [Django]-Unresolved Imports in VS Code Django Project
- [Django]-How to return new csrf token at ajax POST in Django?
- [Django]-Create_user() missing 1 required positional argument: 'username'
Source:stackexchange.com