Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Aref20 opened this issue Jun 22, 2022 · 0 comments
Open

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

Aref20 opened this issue Jun 22, 2022 · 0 comments

Comments

@Aref20
Copy link

Aref20 commented Jun 22, 2022

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant