backend/passfinder/events/filters.py

6 lines
146 B
Python
Raw Normal View History

2023-05-21 20:46:07 +03:00
from django_filters import rest_framework as filters
class DateFilter(filters.FilterSet):
date = filters.DateRangeFilter(field_name="date")