Skip to content

Instantly share code, notes, and snippets.

@mmtechslv
Created April 7, 2021 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmtechslv/fffffe8d60b39d760f5be9cae8da7e0f to your computer and use it in GitHub Desktop.
Save mmtechslv/fffffe8d60b39d760f5be9cae8da7e0f to your computer and use it in GitHub Desktop.
Markdium-Introduction
import django_filters
from .models import People
class PeopleFilter(django_filters.FilterSet):
age = django_filters.AllValuesFilter()
class Meta:
model = People
fields = ['age']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment