django/django — pull request #3333 by mjtamlyn (2014-10-09 16:06:00+00:00)
Title: Fixed #23627 -- Allowed register_lookup to work as a decorator.

Both patterns are now used in the test suite which should be enough to verify this works fine. The change was rather simple.