Changes between Version 1 and Version 2 of Ticket #25171, comment 6
- Timestamp:
- Jul 24, 2015, 8:00:03 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25171, comment 6
v1 v2 9 9 Another thing that fails is this: 10 10 {{{ 11 Category.objects.all().annotate(tiles_count=Count("tiles")).filter(tiles_count__gt=0).update( is_verified=True)11 Category.objects.all().annotate(tiles_count=Count("tiles")).filter(tiles_count__gt=0).update(used=True) 12 12 }}} 13 13 Anyway the problem is due to the fact that it tries to use Category.id although it seems to be out of scope.