django-filter
2.1

User Guide

  • Installation
  • Getting Started
  • Integration with DRF
  • Tips and Solutions
  • Migration Guide

Reference Documentation

  • FilterSet Options
  • Filter Reference
  • Field Reference
  • Group Reference
  • Widget Reference
  • Settings Reference

Developer Documentation

  • Running the Test Suite
django-filter
  • Docs »
  • django-filter
  • View page source

django-filter¶

Django-filter is a generic, reusable application to alleviate writing some of the more mundane bits of view code. Specifically, it allows users to filter down a queryset based on a model’s fields, displaying the form to let them do this.

User Guide

  • Installation
    • Requirements
  • Getting Started
    • The model
    • The filter
    • The view
    • The URL conf
    • The template
    • Generic view & configuration
  • Integration with DRF
    • Quickstart
    • Adding a FilterSet with filterset_class
    • Using the filterset_fields shortcut
    • Overriding FilterSet creation
    • Schema Generation with Core API
    • Crispy Forms
    • Additional FilterSet Features
  • Tips and Solutions
    • Common problems for declared filters
    • Filtering by empty values
    • Using initial values as defaults
  • Migration Guide
    • Enabling warnings
    • Migrating to 2.0
    • Migrating to 1.0

Reference Documentation

  • FilterSet Options
  • Filter Reference
  • Field Reference
  • Group Reference
  • Widget Reference
  • Settings Reference

Developer Documentation

  • Running the Test Suite
Next

© Copyright 2019, Alex Gaynor, Carlton Gibson and others.

Built with Sphinx using a theme provided by Read the Docs.