modlinltd / django-advanced-filters

Add advanced filtering abilities to Django admin
https://pypi.org/project/django-advanced-filters/
MIT License
769 stars 172 forks source link

'AdvancedFilterQueryForm' object has no attribute 'cleaned_data' #166

Open Aref20 opened 2 years ago

Aref20 commented 2 years ago

Hi,

I have this issue when clicking the filter button. How can I fix it?

The error in this code is inside the formset file.

def _should_delete_form(self, form):
    """Return whether or not the form was marked for deletion."""
    return form.cleaned_data.get(DELETION_FIELD_NAME, False)