1 | | I've noticed that after upgrading to Django 1.4, __in queries really don't like empty sets. Simple queries still work, like User.objects.filter(groups__in=[]), but most failures I've seen are with Paginators. I think this is the minimum set to cause a DatabaseError, create any app, add a models.py with: |
| 1 | I've noticed that after upgrading to Django 1.4, `__in` queries really don't like empty sets. Simple queries still work, like `User.objects.filter(groups__in=[])`, but most failures I've seen are with Paginators. I think this is the minimum set to cause a DatabaseError, create any app, add a models.py with: |