Internal Server Error: /djangocms_comments/ajax/save_comment
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 883, in _resolve_lookup
current = current[bit]
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/context.py", line 77, in __getitem__
raise KeyError(key)
KeyError: 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 889, in _resolve_lookup
if isinstance(current, BaseContext) and getattr(type(current), bit):
AttributeError: type object 'RequestContext' has no attribute 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 898, in _resolve_lookup
current = current[int(bit)]
ValueError: invalid literal for int() with base 10: 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/core/handlers/base.py", line 174, in get_response
response = self.process_exception_by_middleware(e, request)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/core/handlers/base.py", line 172, in get_response
response = response.render()
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/response.py", line 160, in render
self.content = self.rendered_content
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/response.py", line 137, in rendered_content
content = template.render(context, self._request)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/backends/django.py", line 95, in render
return self.template.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 206, in render
return self._render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/defaulttags.py", line 326, in render
return nodelist.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 1043, in render
output = self.filter_expression.resolve(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 730, in resolve
arg_vals.append(arg.resolve(context))
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 850, in resolve
value = self._resolve_lookup(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 905, in _resolve_lookup
(bit, current)) # missing attribute
django.template.base.VariableDoesNotExist: Failed lookup for key [comments_settings] in "[{'None': None, 'False': False, 'True': True}, {}, {}, {'is_user': False, 'comment': <Comment: [Demo page] In diam odio, varius sed orci eu, dic...>, 'form': <UnregisteredCommentForm bound=False, valid=Unknown, fields=(username;email;website;body;page_type;page_id;config_id)>}]"
Internal Server Error: /djangocms_comments/ajax/save_comment
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 883, in _resolve_lookup
current = current[bit]
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/context.py", line 77, in __getitem__
raise KeyError(key)
KeyError: 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 889, in _resolve_lookup
if isinstance(current, BaseContext) and getattr(type(current), bit):
AttributeError: type object 'RequestContext' has no attribute 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 898, in _resolve_lookup
current = current[int(bit)]
ValueError: invalid literal for int() with base 10: 'comments_settings'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/core/handlers/base.py", line 174, in get_response
response = self.process_exception_by_middleware(e, request)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/core/handlers/base.py", line 172, in get_response
response = response.render()
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/response.py", line 160, in render
self.content = self.rendered_content
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/response.py", line 137, in rendered_content
content = template.render(context, self._request)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/backends/django.py", line 95, in render
return self.template.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 206, in render
return self._render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/defaulttags.py", line 326, in render
return nodelist.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 1043, in render
output = self.filter_expression.resolve(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 730, in resolve
arg_vals.append(arg.resolve(context))
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 850, in resolve
value = self._resolve_lookup(context)
File "/home/nekmocom/.virtualenvs/nekmo.com/lib/python3.5/site-packages/django/template/base.py", line 905, in _resolve_lookup
(bit, current)) # missing attribute
django.template.base.VariableDoesNotExist: Failed lookup for key [comments_settings] in "[{'None': None, 'False': False, 'True': True}, {}, {}, {'is_user': False, 'comment': None, 'form': <UnregisteredCommentForm bound=True, valid=False, fields=(username;email;website;body;page_type;page_id;config_id)>}]"