-
Notifications
You must be signed in to change notification settings - Fork 80
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
MultiValueDictKeyError in Django 1.6 #17
Comments
This seems to be due to a change in the admin templates in 1.6. See this issue on another project: jazzband/django-admin-sortable#64 Not sure what the problem is exactly, I'm going to dig into the templates now to see if I can fix it as well. |
Thanx man! |
Alright I seem to have fixed it, at least for me on the project I'm working on. I might make a pull request on SilverFix' repo which generally seems to be more stable and which is the one I am running myself ( https://github.com/silverfix/django-nested-inlines ) but for now you can do this:
Note that, because the templates in Soaa-'s and SilverFix' repo's are based on Django 1.5, you will loose any changes in Django 1.6 for those two templates, but this is the easiest way to solve this for now. |
Thanks man, I will try it out. So the SilverFix nested inlines don't have this problem? Should I just install SilverFix's to try it out, do you think I will have problems? |
Well like I said I use SilverFix' version because that one is way more active (last update 19 days ago versus 9 months) and generally seems more stable because of some big bugfixes, so yeah, I recommend his version. But his version also has his bug, that's how I ran into it. Note by the way that there is a visual bug in inlines.js with the "add more" button. This is a
|
Perfect, I'll give it a go, thanks again. |
Ok, I tried it and it worked! Thank you very much Gwildor! |
changed test_project to example
After upgrading to Django 1.6 I get a "MultiValueDictKeyError" after trying to add or delete a nested-inline object.
The text was updated successfully, but these errors were encountered: