Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

v1.3.0: Minor release. Hook model change + new classes.

Compare
Choose a tag to compare
@avelis avelis released this 23 Jun 03:00
· 49 commits to master since this release
  • Merged #28
    • Removal of choices argument for event attribute in Hook model. Change eliminates creation of migration files when modifying the HOOK_EVENTS dictionary. BE ADVISED: This change can result in undesirable behavior when upgrading from v1.2.2. or older Given that knowledge, this release was bumped up to a minor release.
  • Creation of HookAdmin class for the Hook model.
  • Creation of HookForm class.
    • Form class is used in HookAdmin.
  • Addition of clean method to Hook model.
    • Method validates event value is within the available choices in the HOOK_EVENTS dictionary.

Notes:

  • Consider using HookForm.ADMIN_EVENTS to assign available HOOK_EVENTS dynamically.