mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Since the original version of the migration a) invoked the .save() method, and b) involved a model with a custom field that had a post_save handler attached, this migration had a side-effect that caused the codebase's version of the model to be used when the table involved wasn't yet up to date. This triggers an UndefinedColumn error. This change works around the problem by making use of queryset .update() methods instead, which should avoid the post_save signal trigger.