django.db.models.signals

11 views
Skip to first unread message

Mohammad hassan Tahery

unread,
Sep 19, 2020, 11:15:13 AM9/19/20
to Django users
It would be cool to have pre_update and post_update in set of built-in signals.   

Ricardo Daniel Quiroga

unread,
Sep 20, 2020, 9:13:13 PM9/20/20
to django...@googlegroups.com
Hi
pre_save, post_save solved this problem with created flag [1]

# If you check only update in you
if not created:
   pass   


El sáb., 19 sept. 2020 a las 12:14, Mohammad hassan Tahery (<mo.ha.ta.1....@gmail.com>) escribió:
It would be cool to have pre_update and post_update in set of built-in signals.   

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/df4b7a32-4c81-4d37-aeca-bc12dfd79602n%40googlegroups.com.


--

Ricardo Daniel Quiroga

Reply all
Reply to author
Forward
0 new messages