django-filter
django-filter copied to clipboard
fix #1475 - filter_overrides extra now applied when field has choices
Code change compatible with older python versions ({**a, **b}
rather than a | b
used for combining dictionaries), as I spotted via running tox on your project it wants to run back to 3.6.
Test added for this case, checked it fails without the change, passes with.
Closes #1475
It would be great to get this merged and released @carltongibson so we can stop depending on my fork.
@Spycho 👍 DF is on the list for a dust-off and release after Django 4.1a1, so I shall give it a look then. Thanks.
... I spotted via running tox on your project it wants to run back to 3.6.
We'll be dropping support for PY36, and Djangos<3.2 if you fancy making those adjustments? 🙂
Happy to, but wouldn't it be best to merge this in as is, as it works with all versions, and then refactor to use the new dictionary combining syntax after you've dropped 3.6 support?