torchbox/wagtail — pull request #443 by timheap (2014-07-09 06:01:42+00:00)
Title: Support registering admin hooks through decorators

Fixes the TODO note left in the code.

The change is backwards compatible with the function-style registrations. The tests have been updated such that one uses the decorator, and one continues to use the function style.