Skip to content

Commit

Permalink
fix(filters): fix quick select template property #118
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed May 18, 2024
1 parent ef6460a commit b7136de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rangefilter/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ def expected_parameters(self):
def get_template(self):
return "rangefilter/date_range_quick_select_list_filter.html"

template = property(get_template)

def _make_query_filter(self, request, validated_data):
query_params = super()._make_query_filter(request, validated_data)
date_value_gte = validated_data.get(self.lookup_kwarg_gte, None)
Expand Down

0 comments on commit b7136de

Please sign in to comment.