Answer the question
In order to leave comments, you need to log in
How to get DateField value from signal?
There is a regular DateField field with the auto_now_add=True attribute in the model (hereinafter 'dateCreate'), a signal is hung on the model, but this 'dateCreate' is not present in the signal instance. I don't understand why exactly this field with the attribute auto_now_add=True does not return to the signal, but without this attribute it calmly returns?
Answer the question
In order to leave comments, you need to log in
I had some similar problem. So I couldn't dig it out. Just replace withdefault=timezone.now
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question