jleivaizq/djorm-ext-pgtrgm — pull request #8 by fdanielsen (2014-04-04 09:13:01+00:00)
Title: Register custom lookup properly in Django 1.7

Django 1.7 introduces a proper API for registering custom lookups, rendering the old manual injection way non-functional. This makes use of the proper API for registering the ``similar`` lookup, while keeping backwards compatibility.