bckohan/django-routines

Support function pre and post hooks to be run prior to and after given commands.

bckohan opened this issue · 1 comments

This is necessary because some commands like makemigrations require cache's to be reset etc when run within the same memory space.

  • The pre hook's return value should be able to tigger the routine to skip the command.