Django Lifecycle Versions Save

Declarative model lifecycle hooks, an alternative to Signals.

1.2.3

3 months ago
  • Fix imports

1.2.2

3 months ago
  • Fix pypi release by explicitly include conditions folder

1.2.1

3 months ago
  • Fix: Fix import errors

1.2.0

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rsinger86/django-lifecycle/compare/1.1.2...1.2.0

1.1.2

6 months ago
  • Fix: Hooks were failing if some watched field (those in when="" or when_any=[...]) was a GenericForeignKey

1.1.1

6 months ago
  • Fix: Include missing django_lifecycle_checks into python package

1.1.0

7 months ago
  • Drop support for Django < 2.2.
  • Confirm support for Django 5.0. Thanks @adamchainz!
  • Remove urlman from required packages. Thanks @DmytroLitvinov!
  • Add an optional Django check to avoid errors by not inheriting from LifecycleModelMixin (or LifecycleModel) @EnriqueSoria

1.0.2

8 months ago
  • Correct package info to note that Django 4.0, 4.1, and 4.2 are supported. Thanks @simkimsia!

1.0.1

9 months ago
  • Initial state gets reset using transaction.on_commit(), fixing the has_changed() and initial_value() methods for on_commit hooks. Thanks @alb3rto269!

1.0.0

2 years ago

1.0.0 (May 2022)

  • Drops Python 3.6 support
  • Adds priority hook kwarg to control the order in which hooked methods fire. Thanks @EnriqueSoria!
  • Internal cleanup/refactoring. Thanks @EnriqueSoria!