-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Errors when adding plugins on django 1.10 #5812
Comments
Hello @hbutau,
|
ok just updated with the traceback |
Thanks @hbutau. |
It does throw for all plugins.
…On 20/12/2016 02:00, Paulo Alvarado wrote:
Thanks @hbutau <https://github.com/hbutau>.
Does it throw this error for all plugins? or a specific one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5812 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMMSZbkWklf25FqsogisG9PKO3Y-rVfhks5rJxq6gaJpZM4LRKwg>.
--
* Twitter <http://twitter.com/hamub>
* Linkedin <http://linkedin.com/in/hamub>
* Github <http://github.com/hbutau>
* Humphrey <https://pyzim.github.io>
|
Hello @hbutau, |
Closing as latest 3.4.x version fully supports django 1.10, feel free to create a new ticket if you're still experiencing issues. |
Its okay @czpython, i have tested it we the latest and it seems to be fine. Thank you |
I have been trying to use django-cms 3.4 with Django 1.10, but it seems to always throw this 'RequestContext' object has no attribute 'current_app' error everytime i try to add a plugin. I have since reverted to Django 1.9 and it seems to work, but not with django 1.10
Traceback (most recent call last): File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/core/handlers/exception.py", line 39, in inner response = get_response(request) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response response = self._get_response(request) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/core/handlers/base.py", line 217, in _get_response response = self.process_exception_by_middleware(e, request) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/core/handlers/base.py", line 215, in _get_response response = response.render() File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/response.py", line 109, in render self.content = self.rendered_content File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/response.py", line 86, in rendered_content content = template.render(context, self._request) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/backends/django.py", line 66, in render return self.template.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 208, in render return self._render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 199, in _render return self.nodelist.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 994, in render bit = node.render_annotated(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 961, in render_annotated return self.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/loader_tags.py", line 174, in render return compiled_parent._render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 199, in _render return self.nodelist.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 994, in render bit = node.render_annotated(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 961, in render_annotated return self.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/classytags/core.py", line 153, in render return self.render_tag(context, **kwargs) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/sekizai/templatetags/sekizai_tags.py", line 93, in render_tag rendered_contents = nodelist.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 994, in render bit = node.render_annotated(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 961, in render_annotated return self.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/classytags/core.py", line 153, in render return self.render_tag(context, **kwargs) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/templatetags/cms_tags.py", line 631, in render_tag rendered_contents = nodelist.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 994, in render bit = node.render_annotated(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/django/template/base.py", line 961, in render_annotated return self.render(context) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/classytags/core.py", line 153, in render return self.render_tag(context, **kwargs) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/templatetags/cms_tags.py", line 304, in render_tag content = get_placeholder_content(context, request, page, name, inherit, nodelist) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/templatetags/cms_tags.py", line 236, in get_placeholder_content content = render_placeholder(placeholder, context, name) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/plugin_rendering.py", line 188, in render_placeholder content.extend(render_plugins(plugins, context, placeholder, processors)) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/plugin_rendering.py", line 101, in render_plugins out.append(plugin.render_plugin(context, placeholder, processors=processors)) File "/home/hamub/.virtualenvs/tesk/lib/python3.5/site-packages/cms/models/pluginmodel.py", line 173, in render_plugin current_app = context.current_app if context else None AttributeError: 'RequestContext' object has no attribute 'current_app'
The text was updated successfully, but these errors were encountered: