signals.py 388 B

1234567891011121314
  1. """
  2. South-specific signals
  3. """
  4. from django.dispatch import Signal
  5. # Sent at the start of the migration of an app
  6. pre_migrate = Signal(providing_args=["app"])
  7. # Sent after each successful migration of an app
  8. post_migrate = Signal(providing_args=["app"])
  9. # Sent after each run of a particular migration in a direction
  10. ran_migration = Signal(providing_args=["app","migration","method"])