-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
In Admin: build_attrs() got an unexpected keyword argument #107
Comments
Same here. Django 1.11 causes this. |
Ran into this same TypeError, too. Django 1.11, python 3.5, sortedm2m 1.3.3 Traceback (partial): lib/python3.5/site-packages/sortedm2m/forms.py in build_attrs |
I made a pull request that fixes this problem. |
I believe this was also addressed in #104 by @fdintino Unfortunately we haven't heard back from @gregmuellegger about the issue or PR in question |
This is addressed by #104. I emailed @gregmuellegger a week ago and he responded that he's aware of the pull request and that, though he's busy, he'll look into it when he can. |
Hey, thank you all for the reports, comments and contributions! I just merged #104 and released 1.4.0 including a fix for this. Can you please test and confirm that this also fixes this issue? |
Confirmed that this resolves the issue for me. Thank you kindly for your excellent work! |
Python 3.6.1 - Django 1.11 - Windows 10 - Package version: 1.3.3
I'm not really sure what's going on, but whenever I try to open an object in my admin panel, I get the following error:
TypeError at /admin/Events/event/17/change/ build_attrs() got an unexpected keyword argument 'name'
Exception is located at:
C:\Users\Adam\Envs\otherlane_2\lib\site-packages\sortedm2m\forms.py in build_attrs, line 35
This is the start of the function. This last line seems to be the issue:
It seems CKEditor had a similar problem and had to undergo a revision:
https://github.com/django-ckeditor/django-ckeditor/pull/364/files
The text was updated successfully, but these errors were encountered: