Metadata-Version: 1.1
Name: django-filters-mixin
Version: 0.1.4
Summary: django-filter meets django-pagination
Home-page: http://github.com/bashu/django-filters-mixin
Author: Basil Shubin
Author-email: basil.shubin@gmail.com
License: BSD License
Download-URL: https://github.com/bashu/django-filters-mixin/zipball/master
Description: django-filters-mixin
        ====================
        
        Simple integration between django-filter_ and pagination_
        
        .. image:: https://img.shields.io/pypi/v/django-filters-mixin.svg
            :target: https://pypi.python.org/pypi/django-filters-mixin/
        
        .. image:: https://img.shields.io/pypi/dm/django-filters-mixin.svg
            :target: https://pypi.python.org/pypi/django-filters-mixin/
        
        .. image:: https://img.shields.io/github/license/bashu/django-filters-mixin.svg
            :target: https://pypi.python.org/pypi/django-filters-mixin/
        
        Requirements
        ------------
        
        You must have *django-filter* installed and configured, see the
        django-filter_ documentation for details and setup instructions.
        
        Installation
        ============
        
        .. code-block:: shell
        
            pip install django-filters-mixin
        
        
        Usage
        =====
        
        The ``FilterMixin`` allows to use pagination together with filtering
        
        .. code-block:: python
        
            # views.py
        
            import django_filters
            from filters.views import FilterMixin
        
        
            class CustomFilterSet(django_filters.FilterSet):
                # read https://github.com/alex/django-filter#usage
                ...
        
        
            class CustomFilterView(FilterMixin, django_filters.views.FilterView):
                filterset_class = CustomFilterSet
                paginate_by = 12
                ...
        
        
        Please see ``example`` application. This application is used to
        manually test the functionalities of this package. This also serves as
        good example...
        
        You need Django 1.4 or above to run that. It might run on older
        versions but that is not tested.
        
        .. _django-filter: https://github.com/alex/django-filter
        .. _pagination: https://docs.djangoproject.com/en/dev/topics/pagination/
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires: Django (>=1.4)
