how do I add arguments to Django signals so that the associated receiver can use those arguments? Reading the docs I've not been able to figure myself. Thanks
Example:
def callback(sender, instance, **kwargs):
# I want to work with extra here!
extra = kwargs.get(extra, None)
if extra:
# do something with extra
pass
The receiver is connected to the signal this way:
pre_save.connect(callback)