Editing advanced settings for a page through the change view of page admin raises an error if djangocms_blog is an installed app.
AttributeError: This QueryDict instance is immutable error is raised
Advanced settings for a page should be successfully modified through page admin change view.
AttributeError: This QueryDict instance is immutable is raised at cms/admin/forms.py at line 305:
del self.data['application_configs']
self is django.http.request.QueryDict({'application_namespace': '', 'reverse_id': '', 'xframe_options': '0', 'site': '1', 'application_urls': '', 'template': 'base.html', 'csrfmiddlewaretoken': 'foo', 'redirect': '', 'language': 'en', 'overwrite_url': '', 'navigation_extenders': '', '_save': 'Save' })
app is a djangocms_blog.cms_apps.BlogApp
app_configs is like {'BlogApp':
app_namespaces is {'BlogApp': 'djangocms_blog'}
The same behaviour here:
It doesn't work with:
Django: 1.11.X
Django-Cms: 3.4.5
Python: 2.7.11
It works with:
Django: 1.10.X
It doesn't fail for djangocms_blog only. it fails for any random app attached
Hi there,
feel free to comment on the related PR.
A fix for this will be released on django CMS 3.5.1 and 3.4.6
Most helpful comment
A fix for this will be released on django CMS 3.5.1 and 3.4.6