Django post_save signal's instance datetime field -
i found interesting detail , can't find note in django docs.
in post_save handler there instance object. in case, when created true
, instance has datetime field, value of field unicode string instead of datetime value. , if reload object database, field contain correct datetime value.
i'm curious, correct behavior or i've missed error in code?
Comments
Post a Comment