carltongibson / django-filter

A generic system for filtering Django QuerySets based on user selections
https://django-filter.readthedocs.io/en/main/
Other
4.39k stars 760 forks source link

Allow choices to contains optgroups in DateRangeFilter #1621

Closed fle closed 7 months ago

fle commented 8 months ago

This PR addresses #1620 and implements the suggested solution.

codecov-commenter commented 8 months ago

Codecov Report

Merging #1621 (c4171b0) into main (4a618e0) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head c4171b0 differs from pull request most recent head 63a93ff. Consider uploading reports for the commit 63a93ff to get more accurate results

@@           Coverage Diff           @@
##             main    #1621   +/-   ##
=======================================
  Coverage   98.59%   98.59%           
=======================================
  Files          15       15           
  Lines        1281     1283    +2     
=======================================
+ Hits         1263     1265    +2     
  Misses         18       18           
Files Coverage Δ
django_filters/filters.py 100.00% <100.00%> (ø)