Changes between Version 1 and Version 2 of Ticket #33841, comment 3


Ignore:
Timestamp:
Jul 13, 2022, 3:29:49 PM (2 years ago)
Author:
Shibel Karmi Mansour

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33841, comment 3

    v1 v2  
    66
    77The code I put up above does not omit any ORM-level action, I've stopped the debugger one line before the `update()` call and the queryset size is > 0, only after I call the `update()` the queryset size becomes 0 (I'm not doing ANY filtering when doing the `update()` call, so that seems non-sensical).
     8
     9Edit: I actually get the latest part. In my code, I'm selecting all elements where `processed=False` and updating them to `processed=True`. So I guess there's a filter operation there that leaves no such rows. I still don't see why the update fails. But I guess I'll have to debug this further.
Back to Top