-
Notifications
You must be signed in to change notification settings - Fork 173
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' #141
Comments
@DuSheridan Did you solve it?, I am facing the same problem |
@Nader-Blnk I've side-stepped the issue by downgrading django to 3.1.3, haven't really looked into it since. |
Looks like it's broken starting after merging this PR |
I'm facing the same issue, with django 3.2.2 |
same problem :( |
Same problem :( |
As i can see, this issue starting from Django 3.2. I can`t reprodusing it on 3.1.13(last version of 3.1 branch).,
It`s work's, almost as expected, but it's probably broke editing form... So, you can create filters, but you can't edit it. Hope, founders fix it. django-advanced-filters is really useful extension. |
@urfinorg I can't edit the filter either. Is there any way to fix it? |
I finally fix the above issue by adding these codes in the source and installing the extension by
Thanks to the code of @urfinorg Here is the PR: https://github.com/modlinltd/django-advanced-filters/pull/153/files |
This seems to be fixed in the develop branch?! |
Do you fix it? |
Recent maintainers @asfaltboy and @hugovk , this issue prevents the use of django-advanced-filters on Django 3.2+. My understanding is that a fix has been merged to the develop branch but no release has been issued to PyPI with the fix. Any chance one of you could cut a release so that django-advanced-filters can be used on modern Django versions? |
@davidfstr Hi! I'm not a maintainer here, just contributed a PR :) Only @asfaltboy is listed as the PyPI maintainer https://pypi.org/project/django-advanced-filters/, hopefully he can make a release soon. |
Thanks for the kind reminder, since this version contains a breaking change (dropping support for older Python/Django versions), it's released as 2.0.0 on pypi. |
Hi @asfaltboy , Good news. May you also take a look at related PR for that issue? #153 Maybe we can merge it and release to PyPI also? |
@DmytroLitvinov we're saying the validation issue is not fixed in 2.0 ? Can you provide some more details on what used to happen and what doesn't happen now? Would it previously let you create a filter without any value in the value field, or would it raise a validation error, and now doesn't? |
Hi @asfaltboy , |
I wasn't able to reproduce this particular issue as described above in 2.0. I'm going to go ahead and close the issue. If there are any concerns, please let me know. If there's still some issue, kindly provide step-by-step instructions on how to reproduce the issue. And please forgive me If I missed something obvious |
Describe the bug
Trying to create any new filter leads to
AdvancedFilterQueryForm object has no attribute cleaned_data
error.Steps to reproduce
Expected behaviour
You should be able to create a filter
Details
The text was updated successfully, but these errors were encountered: