created keyword not sent to signal pre_save
|Reported by:||italomaia||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
kwargs does not have a created keyword, EVER. This seems to be a error as one could want
to change a object before it is create.
def pre_save(sender, instance, signal, *args, kwargs):
if 'created' in kwargs:
print "some stuff"
dispatcher.connect(pre_save, signal=signals.pre_save, sender=Sender)
print "some stuff" is never called.