yunojuno / django-side-effects

Django app used to centralise and document external side effects
MIT License
18 stars 4 forks source link

Remove run_on_exit support #28

Open hugorodgerbrown opened 1 year ago

hugorodgerbrown commented 1 year ago

This is a bad code smell. The canonical example of using run_on_exit is when decorating a Django view. You shouldn't do that. Handle your side-effects and business logic outside of the view and decorate there.