Skip to content

Commit

Permalink
More filters
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Jun 15, 2024
1 parent 2e1cd12 commit ca5e40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ class Meta:
fields = {
'name': ['iexact', 'icontains'],
'description': ['icontains'],
'start_date': ['date', 'date__gte', 'lt', 'lte', 'gt', 'gte'],
'end_date': ['date', 'date__lte', 'lt', 'lte', 'gt', 'gte'],
'start_date': ['date', 'date__lte', 'date__gte', 'lt', 'lte', 'gt', 'gte'],
'end_date': ['date', 'date__lte', 'date__gte', 'lt', 'lte', 'gt', 'gte'],
'bar': ['exact'],
'bar__name': ['iexact', 'icontains'],
}
Expand Down

0 comments on commit ca5e40b

Please sign in to comment.