Changes between Version 1 and Version 2 of Ticket #25171, comment 6


Ignore:
Timestamp:
07/24/2015 08:00:03 AM (4 years ago)
Author:
zauddelig
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25171, comment 6

    v1 v2  
    99Another thing that fails is this:
    1010{{{
    11 Category.objects.all().annotate(tiles_count=Count("tiles")).filter(tiles_count__gt=0).update(is_verified=True)
     11Category.objects.all().annotate(tiles_count=Count("tiles")).filter(tiles_count__gt=0).update(used=True)
    1212}}}
    1313Anyway the problem is due to the fact that it tries to use Category.id although it seems to be out of scope.
Back to Top