We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c44662 commit 8adc1f7Copy full SHA for 8adc1f7
django_mongoengine_filter/filters.py
@@ -70,7 +70,11 @@ def __init__(
70
@property
71
def field(self):
72
if not hasattr(self, "_field"):
73
- help_text = _("This is an exclusion filter") if self.exclude else self.extra.pop("help_text", "")
+ help_text = (
74
+ _("This is an exclusion filter")
75
+ if self.exclude
76
+ else self.extra.pop("help_text", "")
77
+ )
78
if self.lookup_type is None or isinstance(
79
self.lookup_type, (list, tuple)
80
):
0 commit comments