django_evolution.signals

Signals for monitoring the evolution process.

django_evolution.signals.evolving = <django.dispatch.dispatcher.Signal object>

Emitted when an Evolver begins evolving.

django_evolution.signals.evolved = <django.dispatch.dispatcher.Signal object>

Emitted when an Evolver finishes evolving.

django_evolution.signals.evolving_failed = <django.dispatch.dispatcher.Signal object>

Emitted when an Evolver fails evolving.

Parameters

exception (Exception) – The exception raised when evolution failed.

django_evolution.signals.applying_evolution = <django.dispatch.dispatcher.Signal object>

Emitted when an evolution is about to be applied to an app.

Parameters
django_evolution.signals.applied_evolution = <django.dispatch.dispatcher.Signal object>

Emitted when an evolution has been applied to an app.

Parameters
django_evolution.signals.applying_migration = <django.dispatch.dispatcher.Signal object>

Emitted when a migration is about to be applied to an app.

Parameters

migration (django.db.migrations.migration.Migration) – The migration that’s being applied.

django_evolution.signals.applied_migration = <django.dispatch.dispatcher.Signal object>

Emitted when a migration has been applied to an app.

Parameters

migration (django.db.migrations.migration.Migration) – The migration that was applied.

django_evolution.signals.creating_models = <django.dispatch.dispatcher.Signal object>

Emitted when creating new models for an app outside of a migration.

Parameters
  • app_label (unicode) – The app label for the models being created.

  • model_names (list of unicode) – The list of models being created.

django_evolution.signals.created_models = <django.dispatch.dispatcher.Signal object>

Emitted when finished creating new models for an app outside of a migration.

Parameters
  • migration (django.db.migrations.migration.Migration) – The migration that was applied.

  • model_names (list of unicode) – The list of models that were created.