Created
April 7, 2021 15:48
-
-
Save mmtechslv/fffffe8d60b39d760f5be9cae8da7e0f to your computer and use it in GitHub Desktop.
Markdium-Introduction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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