Skip to content

Fix name handling in broker callbacks

Samuel GAIST requested to merge fix_broker_callbacks into django3_migration

With the evolution of the bytes/string handling in Python and Django, filtering the database on a CharField with a byte does not work as before.

This patch thus ensure that the name of the worker passed to the callback is converted to a string before doing any database query.

Part of #561 (closed)

Edited by Samuel GAIST

Merge request reports