Skip to content

Commit

Permalink
Merge pull request #37 from yuvadm/patch-1
Browse files Browse the repository at this point in the history
Clarify how to import AdminAdvancedFiltersMixin in README
  • Loading branch information
asfaltboy authored Feb 26, 2017
2 parents 6cf886a + e441a75 commit 423316f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Extending a ModelAdmin is pretty straightforward:

.. code-block:: python
from advanced_filters.admin import AdminAdvancedFiltersMixin
class ProfileAdmin(AdminAdvancedFiltersMixin, models.ModelAdmin):
list_filter = ('name', 'language', 'ts') # simple list filters
Expand Down

0 comments on commit 423316f

Please sign in to comment.