gizmag/django-fsm-log — pull request #2 by scotta (2014-05-13 12:50:39+00:00)
Title: Compatibility with django-fsm v2

## Backward compatible changes for django-fsm v2

Applying the **fsm_log_by** decorator prevents the transition from being returned by **get_available_FIELD_transitions** and **get_all_FIELD_transitions**.

Changes:

* Imports now from **django_fsm** and not **django_fsm.db.fields** (affects tests)
* Added new tests to check transitions are returned from **get_available_FIELD_transitions** and **get_all_FIELD_transitions**
* Added **@wraps** to the **fsm_log_by** decorator to remedy the missing transitions