Hello, I’m currently implementing a finite state machine in my application using Django FSM[1]. In the Usage section of the README the author said that “This function may contain side-effects, like updating caches, notifying users, etc.”
Opposing this statement, the Symfony PHP framework’s authors say that models should never have such side effects. Thus, I was wondering what is the case with Django in this topic. Should I really do such things, like notifying users, in the model’s code? Best, Gergely [1] https://github.com/kmmbvnr/django-fsm -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/69272d49-de97-40a0-9682-430f28f38663%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.