Saturday, May 1, 2021

Re: override save() twice in django model!

I don't think so, why not do in one function or you can use pre save and pist save signals

On Sat, May 1, 2021, 19:11 RITIK SONI <rtksoni00@gmail.com> wrote:
am i able to override save() method of a django model twice?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b56f7397-66c1-44e5-8502-a83717861d54n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOecAnxvL%2BVK_ExV5rWa_mYH9Swp8NBNMu8EYQrT8%3Dy%3DhzCqdA%40mail.gmail.com.

No comments:

Post a Comment