Fix field selection for messaging provider in sender
authorMagnus Hagander <magnus@hagander.net>
Wed, 8 May 2024 14:13:49 +0000 (16:13 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 8 May 2024 14:18:38 +0000 (16:18 +0200)
commit6b20de7d20ae10d6c686b71b87a1ec0e60615ab8
tree64bbb99aa3aa6a95c21721f53ffd7a632d09a868
parent0a05104ffc828493c0abeeb1c615e940895fbb7d
Fix field selection for messaging provider in sender

The messaging field is directly on the queue object, not on the
registration (unlike the messaging config field). Django 3.2 would
ignore this incorrect fetch and just work (but without getting the
field, so causing an extra query). Django 4.2 throws an error.
postgresqleu/util/messaging/sender.py