Created
December 3, 2020 13:41
-
-
Save ktechmidas/b717b0580e0f01fbb7199b12f5f47ddc to your computer and use it in GitHub Desktop.
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
class FlightFilter(django_filters.FilterSet): | |
class Meta: | |
model = Flight | |
fields = {"ff_from__fullname": ["icontains"]} | |
label = "Search location or flight number" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment