#28356: Serializer got error when datetime field receive string instead datetime object -------------------------------------+------------------------------------- Reporter: Hermogenes Batista | Owner: da Silva Filho | Hermogenes Batista da Silva Filho Type: Bug | Status: assigned Component: Database layer | Version: 1.11 (models, ORM) | Severity: Normal | Resolution: Keywords: serializer | Triage Stage: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Hermogenes Batista da Silva Filho): Also, when you save your instance with this value, and have implemented one `post_save` to serialize it and send to Kafka (for example), the instance received on signal, will have that field with string yet, so we got this problem (this is my scenario). -- Ticket URL: <https://code.djangoproject.com/ticket/28356#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/075.9b61ca4d1ad1a756723ab1c3562062cb%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.