No JSON object could be decoded
Request Method: | GET |
---|---|
Request URL: | https://www.iiserkol.ac.in/web/en/people/faculty/dps/biswarup/ |
Django Version: | 1.8.17 |
Exception Type: | ValueError |
Exception Value: | No JSON object could be decoded |
Exception Location: | /usr/lib64/python2.7/json/decoder.py in raw_decode, line 384 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/home/web/www/django_cms/website', '/home/web/www/django_cms/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/django_stdimage-0.14-py2.7.egg', '/usr/lib/python2.7/site-packages/django_session_idle_timeout-1.3.1-py2.7.egg', '/usr/lib/python2.7/site-packages/django_simple_captcha-0.3.5-py2.7.egg', '/usr/lib/python2.7/site-packages/icalendar-3.0.1b2-py2.7.egg', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 12:48:30 +0530 |
In template /home/web/www/django_cms/website/profile_faculty/templates/FacultyInstitute_profile.html
, error at line 3
1 | {% load cms_tags staticfiles sekizai_tags %} |
---|---|
2 | {% load static from staticfiles %} |
3 | {{instance.personal_info|safe}} |
4 | {% for e in instance.personal_info %} |
5 | {{e.username}} |
6 | {% endfor %} |
7 | <!-- |
8 | {% for e in instance.personal_info %} |
9 | <h3>{{e.staff_name}}</h3> |
10 | <div class="innerdiv col-md-2"><span><img src="/static/images/people/faculty/{{e.username}}.jpg" style="border-width: 0px; border-style: solid; width: 110px; height: 109px;" /></span></div> |
11 | <div class="innerdiv col-md-6" style="margin-top:5px;"> |
12 | <p class="p2"><strong>{{e.designation}}</strong><br /> |
13 | <strong>Dept:</strong> {{e.department}}<br /> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, response)
# Complain if the template response middleware returned None (a common error).
if response is None:
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__))
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=cms.views.details, args=(), kwargs={'slug': u'people/faculty/dps/biswarup'}, url_name=pages-details-by-slug, app_name=None, namespaces=[]) |
middleware_method | <bound method ToolbarMiddleware.process_view of <cms.middleware.toolbar.ToolbarMiddleware object at 0x7f21a2706690>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f21a098b7d0> |
request | "<WSGIRequest\npath:/web/en/people/faculty/dps/biswarup/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/web/www/',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'rgSiWKjemfkyFUKmPlP9pHGFlMWLgdnb',\n 'DOCUMENT_ROOT': '/home/web/www/',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.iiserkol.ac.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/people/faculty/dps/biswarup/',\n 'PATH_TRANSLATED': '/home/web/www/en/people/faculty/dps/biswarup/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '192.168.71.1',\n 'REMOTE_PORT': '37550',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/web/en/people/faculty/dps/biswarup/',\n 'SCRIPT_FILENAME': '/home/web/www/django_cms/website/website/wsgi.py',\n 'SCRIPT_NAME': u'/web',\n 'SERVER_ADDR': '192.168.71.4',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'www.iiserkol.ac.in',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 mod_perl/2.0.10 Perl/v5.16.3',\n 'SSL_TLS_SNI': 'www.iiserkol.ac.in',\n 'UNIQUE_ID': 'ZgZrRYFSOMRTYTR2UNVN5wAAAAU',\n 'mod_wsgi.application_group': 'www.iiserkol.ac.in|/web',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': 'web_app_ssl',\n 'mod_wsgi.queue_start': '1711696709772123',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f21885681b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f21883093f0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f218819f1f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function details at 0x7f21a25a4140> |
wrapped_callback | <function details at 0x7f21a25a4140> |
resolver | <RegexURLResolver 'website.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'people/faculty/dps/biswarup'} |
response | <django.template.response.TemplateResponse object at 0x7f2188f6a390> |
urlconf | 'website.urls' |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f2188f6a390> |
retval | <django.template.response.TemplateResponse object at 0x7f2188f6a390> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self._resolve_template(self.template_name)
context = self._resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f2188f6a390> |
context | {'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'has_change_permissions': False, 'has_view_permissions': True, 'lang': 'en'} |
template | <django.template.backends.django.Template object at 0x7f2188715cd0> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango110Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7f2188715cd0> |
request | "<WSGIRequest\npath:/web/en/people/faculty/dps/biswarup/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/web/www/',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'rgSiWKjemfkyFUKmPlP9pHGFlMWLgdnb',\n 'DOCUMENT_ROOT': '/home/web/www/',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.iiserkol.ac.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/people/faculty/dps/biswarup/',\n 'PATH_TRANSLATED': '/home/web/www/en/people/faculty/dps/biswarup/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '192.168.71.1',\n 'REMOTE_PORT': '37550',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/web/en/people/faculty/dps/biswarup/',\n 'SCRIPT_FILENAME': '/home/web/www/django_cms/website/website/wsgi.py',\n 'SCRIPT_NAME': u'/web',\n 'SERVER_ADDR': '192.168.71.4',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'www.iiserkol.ac.in',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 mod_perl/2.0.10 Perl/v5.16.3',\n 'SSL_TLS_SNI': 'www.iiserkol.ac.in',\n 'UNIQUE_ID': 'ZgZrRYFSOMRTYTR2UNVN5wAAAAU',\n 'mod_wsgi.application_group': 'www.iiserkol.ac.in|/web',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': 'web_app_ssl',\n 'mod_wsgi.queue_start': '1711696709772123',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f21885681b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f21883093f0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f218819f1f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f2188715f90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f2188715f90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f215c541490> |
blocks | {u'content': <Block Node: content. Contents: []>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f217bc03290> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
compiled_parent | <django.template.base.Template object at 0x7f215c541550> |
self | <ExtendsNode: extends "base.html"> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f215c541550> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Tag: render_block> |
bit | u'</title>\n\n <!--<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">-->\n \n <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">\n <link href="/static/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">\n <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">\n\t<!-- <link href="/static/bootstrap_dropdown_hover/css/bootstrap.min.css" rel="stylesheet">\t\n Bootstrap Dropdown Hover CSS\n <link href="/static/bootstrap_dropdown_hover/css/animate.min.css" rel="stylesheet">\n <link href="/static/bootstrap_dropdown_hover/css/bootstrap-dropdownhover.min.css" rel="stylesheet"> -->\n\n ' |
bits | [u'\ufeff', u'', u'\n', u'', u'\n<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="">\n <meta name="author" content="">\n\n <title>IISER Kolkata - ', u'biswarup', u'</title>\n\n <!--<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">-->\n \n <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">\n <link href="/static/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">\n <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">\n\t<!-- <link href="/static/bootstrap_dropdown_hover/css/bootstrap.min.css" rel="stylesheet">\t\n Bootstrap Dropdown Hover CSS\n <link href="/static/bootstrap_dropdown_hover/css/animate.min.css" rel="stylesheet">\n <link href="/static/bootstrap_dropdown_hover/css/bootstrap-dropdownhover.min.css" rel="stylesheet"> -->\n\n '] |
self | [<Text Node: '?'>, <django.template.defaulttags.LoadNode object at 0x7f215c541490>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f217bb8ee10>, <Text Node: ' <!DOCTYPE html> <html la'>, <Tag: page_attribute>, <Text Node: '</title> <!--<link h'>, <Tag: render_block>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Tag: render_block> |
self | [<Text Node: '?'>, <django.template.defaulttags.LoadNode object at 0x7f215c541490>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f217bb8ee10>, <Text Node: ' <!DOCTYPE html> <html la'>, <Tag: page_attribute>, <Text Node: '</title> <!--<link h'>, <Tag: render_block>] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
key | 'postprocessor' |
items | [('name', <classytags.values.StringValue object at 0x7f217bb8ed90>), ('postprocessor', <TemplateConstant: None>)] |
self | <Tag: render_block> |
value | <TemplateConstant: None> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
kwargs | {'name': u'css', 'nodelist': [<Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' <!--<script> (fu'>, <Tag: cms_toolbar>], 'postprocessor': None} |
/home/web/www/django_cms/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py
in render_tag
Argument('postprocessor', required=False, default=None, resolve=False),
parser_class=SekizaiParser,
)
def render_tag(self, context, name, postprocessor, nodelist):
if not validate_context(context):
return nodelist.render(context)
rendered_contents = nodelist.render(context)...
varname = get_varname()
data = '\n'.join(context[varname][name])
if postprocessor:
func = import_processor(postprocessor)
data = func(context, data, name)
return '%s\n%s' % (data, rendered_contents)
Variable | Value |
---|---|
self | <Tag: render_block> |
nodelist | [<Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' <!--<script> (fu'>, <Tag: cms_toolbar>] |
name | u'css' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
postprocessor | None |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Tag: cms_toolbar> |
bit | u"\n \n<!--<script>\n (function() {\n var cx = '003285633794735703473:ldxaawjnbru';\n var gcse = document.createElement('script');\n gcse.type = 'text/javascript';\n gcse.async = true;\n gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n</script>\n<gcse:search></gcse:search>-->\n<script>\n (function() {\n var cx = '001342316925840281961:pcrw5kkzg-k';\n var gcse = document.createElement('script');\n gcse.type = 'text/javascript';\n gcse.async = true;\n gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n\n\n</script>\n\n<!--<gcse:searchbox></gcse:searchbox>-->\n </head>\n\n <body>\n " |
bits | [u'\n ', u'', u"\n \n<!--<script>\n (function() {\n var cx = '003285633794735703473:ldxaawjnbru';\n var gcse = document.createElement('script');\n gcse.type = 'text/javascript';\n gcse.async = true;\n gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n</script>\n<gcse:search></gcse:search>-->\n<script>\n (function() {\n var cx = '001342316925840281961:pcrw5kkzg-k';\n var gcse = document.createElement('script');\n gcse.type = 'text/javascript';\n gcse.async = true;\n gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n\n\n</script>\n\n<!--<gcse:searchbox></gcse:searchbox>-->\n </head>\n\n <body>\n "] |
self | [<Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' <!--<script> (fu'>, <Tag: cms_toolbar>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Tag: cms_toolbar> |
self | [<Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' <!--<script> (fu'>, <Tag: cms_toolbar>] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
key | 'name' |
items | [('name', <TemplateConstant: None>)] |
self | <Tag: cms_toolbar> |
value | <TemplateConstant: None> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
kwargs | {'name': None, 'nodelist': [<Text Node: ' <div class="" style='>, <Tag: show_menu>, <Text Node: ' </ul> '>, <Tag: show_menu>, <Text Node: '</ul></div></nav> <'>, <Tag: show_menu>, <Text Node: '</ul>gggg</div>--> '>, <Tag: placeholder>, <Text Node: ' </div> <div '>, <Tag: placeholder>, <Text Node: ' <div class="body-wrap'>, <Tag: render_model>, <Text Node: '--> <div> <div c'>, <Tag: show_menu>, <Text Node: ' </ul> <!--<u'>, <Tag: show_breadcrumb>, <Text Node: ' </ul>--> </di'>, <Block Node: content. Contents: []>, <Text Node: ' </div> </div> <'>, <Tag: render_block>]} |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/templatetags/cms_tags.py
in render_tag
with force_language(language):
# needed to populate the context with sekizai content
render_to_string('cms/toolbar/toolbar_javascript.html', flatten_context(context))
context['addons'] = mark_safe(toolbar.render_addons(context))
else:
language = None
# render everything below the tag
rendered_contents = nodelist.render(context)...
# sanity checks
if not request:
return rendered_contents
if not toolbar:
return rendered_contents
if not toolbar.show_toolbar:
Variable | Value |
---|---|
nodelist | [<Text Node: ' <div class="" style='>, <Tag: show_menu>, <Text Node: ' </ul> '>, <Tag: show_menu>, <Text Node: '</ul></div></nav> <'>, <Tag: show_menu>, <Text Node: '</ul>gggg</div>--> '>, <Tag: placeholder>, <Text Node: ' </div> <div '>, <Tag: placeholder>, <Text Node: ' <div class="body-wrap'>, <Tag: render_model>, <Text Node: '--> <div> <div c'>, <Tag: show_menu>, <Text Node: ' </ul> <!--<u'>, <Tag: show_breadcrumb>, <Text Node: ' </ul>--> </di'>, <Block Node: content. Contents: []>, <Text Node: ' </div> </div> <'>, <Tag: render_block>] |
name | None |
language | None |
self | <Tag: cms_toolbar> |
request | "<WSGIRequest\npath:/web/en/people/faculty/dps/biswarup/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/home/web/www/',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'rgSiWKjemfkyFUKmPlP9pHGFlMWLgdnb',\n 'DOCUMENT_ROOT': '/home/web/www/',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.iiserkol.ac.in',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/en/people/faculty/dps/biswarup/',\n 'PATH_TRANSLATED': '/home/web/www/en/people/faculty/dps/biswarup/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '192.168.71.1',\n 'REMOTE_PORT': '37550',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/web/en/people/faculty/dps/biswarup/',\n 'SCRIPT_FILENAME': '/home/web/www/django_cms/website/website/wsgi.py',\n 'SCRIPT_NAME': u'/web',\n 'SERVER_ADDR': '192.168.71.4',\n 'SERVER_ADMIN': 'root@localhost',\n 'SERVER_NAME': 'www.iiserkol.ac.in',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 mod_perl/2.0.10 Perl/v5.16.3',\n 'SSL_TLS_SNI': 'www.iiserkol.ac.in',\n 'UNIQUE_ID': 'ZgZrRYFSOMRTYTR2UNVN5wAAAAU',\n 'mod_wsgi.application_group': 'www.iiserkol.ac.in|/web',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': 'web_app_ssl',\n 'mod_wsgi.queue_start': '1711696709772123',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f21885681b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f21883093f0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f218819f1f0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
toolbar | <cms.toolbar.toolbar.CMSToolbar object at 0x7f2188f6a9d0> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
bit | u'\n\t\t\t\t\t\t</ul>-->\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div style="background-color:white;">\n\t\t\t\t<!--<gcse:searchresults disableWebSearch=True></gcse:searchresults>-->\n\t\t\t\t' |
bits | [u'\n <div class="" style="width:100%;padding-left:0px;padding-right:0px;">\n\t<header class="w3-container">\n\t<div class="w3-bar" style="display:;">\n\t<div id="badge"><div class="title"><h3 class="w3-font" style="margin: 0px;text-align:center;"><a href="/" style="font-size: 1.0rem;">\u0906\u0908\u0906\u0908\u090f\u0938\u0908\u0906\u0930 \u0915\u094b\u0932\u0915\u093e\u0924\u093e</a></h3></div></div>\n <a href="/hi-web/" class="w3-bar-item w3-button" style="border-left: 1px solid #22363f;color:#0974e0;">\u0939\u093f\u0902\u0926\u0940 \u092e\u0947\u0902</a> \n\t<!-- <a href="https://www3.iiserkol.ac.in/" class="w3-bar-item w3-button" style="border-left: 1px solid #22363f;color:#0974e0;">Old Website</a> -->\n <!--<a href="/people/" class="w3-bar-item w3-button">Faculty & Staff</a>\n <a href="http://alumni.iiserkol.ac.in/" class="w3-bar-item w3-button">Alumni</a>\n <a href="http://students.iiserkol.ac.in/" class="w3-bar-item w3-button">Students</a>\n <p id="info" style="margin-bottom:0px;">Information for</p>-->\n </div>\n\t\n\t<div id="l-top" class="w3-container"> \n <div id="l-img" ><a href="/">\n <img src="/static/ss13ms110/images/IISER-K_Logo.png" class="w3-image" style="width: 100%" alt="logo"></a>\n </div>\n <div id="badge">\n \n <div class="title">\n <!-- <h3 class="w3-font"><a href="/">IISER KOLKATA</a></h3> -->\n <!-- <h2 style="font-family:\'Noto Sans\', sans-serif;margin-bottom: 0px;margin-top: 10px;"><a href="/"> \u092d\u093e\u0930\u0924\u0940\u092f \u0935\u093f\u091c\u094d\u091e\u093e\u0928 \u0936\u093f\u0915\u094d\u0937\u093e \u090f\u0935\u0902 \u0905\u0928\u0941\u0938\u0902\u0927\u093e\u0928 \u0938\u0902\u0938\u094d\u0925\u093e\u0928 \u0915\u094b\u0932\u0915\u093e\u0924\u093e</a></h2> -->\n <h2 class="w3-font" style="margin-top: 15px;"><a href="/">INDIAN INSTITUTE OF SCIENCE EDUCATION AND RESEARCH KOLKATA</a></h2>\n\t\t\n <p style="color:#0974e0;">... towards excellence in science</p>\n \t<div style="margin-top:15px;width:100%;"><b style=\'width:100%;font-family: "Droid Serif",serif;\'>An Autonomous Institution, Under the Ministry of Education, Government of India</b></div>\n \n </div>\n </div>\n <!--<div class="w3-bar" style="width:15%;">\n <a href="http://www.iiserkol.ac.in/hi-web/" class="w3-bar-item w3-button" style="border-left: 1px solid #22363f;color:#0974e0;"><b>\u0939\u093f\u0902\u0926\u0940 \u092e\u0947\u0902</b></a>\n <a href="https://www.iiserkol.ac.in/" class="w3-bar-item w3-button" style="border-left: 1px solid #22363f;color:#0974e0;">Old Website</a>\n\t\t\t<span style="margin-left:10%;"><gcse:searchbox queryParameterName="search"></gcse:searchbox></span>\n </div>-->\n\t <div class="search-box"><gcse:searchbox queryParameterName="search"></gcse:searchbox>\n <!--<input type="text" class="input" placeholder="Search.."><button class="item"><i class="fa fa-search"></i></button>-->\n </div>\t\n\t\t\t\n\t</div>\n\t\n\t<!--<div style="background:#a4c3dd;"><table width="100%"><tr><td style="width:10%;"><a href="/"><img src="/static/images/iiserk_logo1.png" class="img-rounded" alt="iiserk" style="background:;"></a></td>\n\t<td style="color: #000080;text-align:center;width:75%;">\n\t<font size="5" style="color:#821b1b;">Indian Institute of Science Education and Research Kolkata</font></br>\n\t<font size="3" style="margin-left:45%;color:#063d6d;"><i>... towards excellence in science</i></font>\n\t</td>\n\t<td style="width:15%;text-align:right;">\n\t\t<div class="col-md-10"><a href="/" style="color:#063d6d;font-weight:bold;">Home</a></div>\n\t\t<div class="col-md-12"><a href="/website-hindi/" style="color:#063d6d;font-weight:bold;">\u0939\u093f\u0902\u0926\u0940 \u0938\u0902\u0938\u094d\u0915\u0930\u0923</a></div></td>\n\t</tr></table></div>-->\n\t<!--<div><img src="/static/images/iiserk_head1.png" class="img-rounded" alt="iiserk"... <trimmed 28332 bytes string> |
self | [<Text Node: ' <div class="" style='>, <Tag: show_menu>, <Text Node: ' </ul> '>, <Tag: show_menu>, <Text Node: '</ul></div></nav> <'>, <Tag: show_menu>, <Text Node: '</ul>gggg</div>--> '>, <Tag: placeholder>, <Text Node: ' </div> <div '>, <Tag: placeholder>, <Text Node: ' <div class="body-wrap'>, <Tag: render_model>, <Text Node: '--> <div> <div c'>, <Tag: show_menu>, <Text Node: ' </ul> <!--<u'>, <Tag: show_breadcrumb>, <Text Node: ' </ul>--> </di'>, <Block Node: content. Contents: []>, <Text Node: ' </div> </div> <'>, <Tag: render_block>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
self | [<Text Node: ' <div class="" style='>, <Tag: show_menu>, <Text Node: ' </ul> '>, <Tag: show_menu>, <Text Node: '</ul></div></nav> <'>, <Tag: show_menu>, <Text Node: '</ul>gggg</div>--> '>, <Tag: placeholder>, <Text Node: ' </div> <div '>, <Tag: placeholder>, <Text Node: ' <div class="body-wrap'>, <Tag: render_model>, <Text Node: '--> <div> <div c'>, <Tag: show_menu>, <Text Node: ' </ul> <!--<u'>, <Tag: show_breadcrumb>, <Text Node: ' </ul>--> </di'>, <Block Node: content. Contents: []>, <Text Node: ' </div> </div> <'>, <Tag: render_block>] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f217bc03290> |
block | <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
self | <Block Node: content. Contents: []> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Tag: placeholder> |
bit | u'\n\t' |
bits | [u'\n\t'] |
self | [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Tag: placeholder> |
self | [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
key | 'extra_bits' |
items | [('name', <classytags.values.StringValue object at 0x7f215c541750>), ('extra_bits', <TemplateConstant: []>)] |
self | <Tag: placeholder> |
value | <TemplateConstant: []> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
kwargs | {'extra_bits': [], 'name': u'content'} |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/templatetags/cms_tags.py
in render_tag
return ''
inherit = 'inherit' in extra_bits
content = content_renderer.render_page_placeholder(
slot=name,
context=context,
inherit=inherit,
nodelist=nodelist,...
)
return content
def get_name(self):
return self.kwargs['name'].var.value.strip('"').strip("'")
Variable | Value |
---|---|
nodelist | None |
name | u'content' |
content_renderer | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
self | <Tag: placeholder> |
inherit | False |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
extra_bits | [] |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/plugin_rendering.py
in render_page_placeholder
return ''
content = self._render_page_placeholder(
context=context,
slot=slot,
page=current_page,
editable=True,
nodelist=nodelist,...
)
if content:
return content
# don't display inherited plugins in edit mode, so that the user doesn't
Variable | Value |
---|---|
slot | u'content' |
nodelist | None |
self | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
current_page | <SimpleLazyObject: <cms.models.pagemodel.Page object at 0x7f2188715e90>> |
inherit | False |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/plugin_rendering.py
in _render_page_placeholder
content = self.render_placeholder(
placeholder,
context=context,
page=page,
editable=editable,
use_cache=True,
nodelist=nodelist,...
)
return content
def _preload_placeholders_for_page(self, page):
"""
Populates the internal plugin cache of each placeholder
Variable | Value |
---|---|
slot | u'content' |
nodelist | None |
self | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
editable | True |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
placeholder | <Placeholder: content> |
page | <SimpleLazyObject: <cms.models.pagemodel.Page object at 0x7f2188715e90>> |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/plugin_rendering.py
in render_placeholder
if plugins:
plugin_content = self.render_plugins(
plugins=plugins,
context=context,
placeholder=placeholder,
editable=editable,
)
placeholder_content = ''.join(plugin_content)...
elif nodelist:
# should be nodelist from a template
placeholder_content = nodelist.render(context)
else:
placeholder_content = ''
Variable | Value |
---|---|
use_cache | True |
nodelist | None |
language | 'en' |
get_plugins | <function get_plugins at 0x7f21a205dc08> |
site_id | 1L |
self | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
editable | False |
template | u'fullwidth.html' |
watcher | <sekizai.helpers.Watcher object at 0x7f218874b410> |
cached_value | None |
width | None |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
plugins | [<InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >] |
Watcher | <class 'sekizai.helpers.Watcher'> |
placeholder | <Placeholder: content> |
page | <SimpleLazyObject: <cms.models.pagemodel.Page object at 0x7f2188715e90>> |
plugin_content | <generator object render_plugins at 0x7f21a2fb4a50> |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/plugin_rendering.py
in render_plugins
def render_plugins(self, plugins, context, placeholder=None, editable=False):
total = len(plugins)
for index, plugin in enumerate(plugins):
plugin._render_meta.total = total
plugin._render_meta.index = index
yield self.render_plugin(plugin, context, placeholder, editable)...
def _get_cached_placeholder_content(self, placeholder, site_id, language):
"""
Returns a dictionary mapping placeholder content and sekizai data.
Returns None if no cache is present.
"""
Variable | Value |
---|---|
index | 0 |
plugin | <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> > |
self | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
editable | False |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'lang': 'en', 'extra_active': 1000, 'python_version': '2.7.5', 'cms_edit_on': 'edit', 'to_level': 100, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'namespace': None, 'from_level': 1, 'extra_inactive': 0, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'cms_edit_off': 'edit_off', 'has_change_permissions': False, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'django_version': '1.8.17', 'cms_version': '3.4.3'}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>}] |
plugins | [<InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >] |
total | 1 |
placeholder | <Placeholder: content> |
/home/web/www/django_cms/lib/python2.7/site-packages/cms/plugin_rendering.py
in render_plugin
context = PluginContext(context, instance, placeholder)
context = plugin.render(context, instance, placeholder.slot)
context = flatten_context(context)
template = plugin._get_render_template(context, instance, placeholder)
template = self.get_cached_template(template)
content = template.render(context)...
for processor in iterload_objects(get_cms_setting('PLUGIN_PROCESSORS')):
content = processor(instance, placeholder, content, context)
if editable:
content = self.render_editable_plugin(
Variable | Value |
---|---|
template | <django.template.backends.django.Template object at 0x7f218891b350> |
plugin | Error in formatting: TypeError: __repr__ returned non-string (type __proxy__) |
self | <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0> |
editable | False |
instance | <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> > |
context | {'CMS_MEDIA_URL': '/media/cms/', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'False': False, u'LANGUAGES': (('en', 'en'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en', u'MEDIA_URL': '/media/', 'None': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), u'STATIC_URL': '/static/', u'TIME_ZONE': 'Asia/Kolkata', 'True': True, 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'block': <Block Node: content. Contents: [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>]>, 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'cms_content_renderer': <cms.plugin_rendering.ContentRenderer object at 0x7f215c541cd0>, 'cms_edit_off': 'edit_off', 'cms_edit_on': 'edit', 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'cms_version': '3.4.3', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'current_page': <cms.models.pagemodel.Page object at 0x7f2188715e90>, 'django_version': '1.8.17', 'extra_active': 1000, 'extra_inactive': 0, 'from_level': 1, 'has_change_permissions': False, 'has_view_permissions': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'lang': 'en', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f2188f6a710>, 'namespace': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, 'placeholder': u'content', 'plugin': {'counter': 1, 'counter0': 0, 'first': True, 'id_attr': 'plugin_3503_45471', 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].... <trimmed 6146 bytes string> |
placeholder | <Placeholder: content> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango110Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7f218891b350> |
request | None |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f218891b8d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f218891b8d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Variable Node: instance.personal_info|safe> |
bit | u'\n' |
bits | [u'', u'\n', u'', u'\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f215c51c3d0>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f215c51c290>, <Text Node: ' '>, <Variable Node: instance.personal_info|safe>, <Text Node: ' '>, <For Node: for e in instance.personal_info, tail_len: 3>, <Text Node: ' <!-- '>, <For Node: for e in instance.personal_info, tail_len: 27>, <Text Node: ' --> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Variable Node: instance.personal_info|safe> |
self | [<django.template.defaulttags.LoadNode object at 0x7f215c51c3d0>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f215c51c290>, <Text Node: ' '>, <Variable Node: instance.personal_info|safe>, <Text Node: ' '>, <For Node: for e in instance.personal_info, tail_len: 3>, <Text Node: ' <!-- '>, <For Node: for e in instance.personal_info, tail_len: 27>, <Text Node: ' --> '>] |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/debug.py
in render
e.django_template_source = node.source
raise
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
output = template_localtime(output, use_tz=context.use_tz)
output = localize(output, use_l10n=context.use_l10n)
output = force_text(output)
except UnicodeDecodeError:
return ''
except Exception as e:
Variable | Value |
---|---|
self | <Variable Node: instance.personal_info|safe> |
e | ValueError('No JSON object could be decoded',) |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0x7f2188c4aa10> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
if self.message_context:
return pgettext_lazy(self.message_context, value)
Variable | Value |
---|---|
self | <Variable: u'instance.personal_info'> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)...
except (TypeError, AttributeError) as e:
# Reraise an AttributeError raised by a @property
if (isinstance(e, AttributeError) and
not isinstance(current, BaseContext) and bit in dir(current)):
raise
try: # list-index lookup
Variable | Value |
---|---|
current | <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> > |
bit | u'personal_info' |
e | ValueError('No JSON object could be decoded',) |
self | <Variable: u'instance.personal_info'> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f215c5418d0>, 'python_version': '2.7.5', 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f217bc03f10>, u'request': <WSGIRequest: GET '/web/en/people/faculty/dps/biswarup/'>, 'cms_menu_renderer': <django.utils.functional.__proxy__ object at 0x7f215c541e90>, 'extra_active': 1000, u'TIME_ZONE': 'Asia/Kolkata', 'CMS_TEMPLATE': <function <lambda> at 0x7f2188755848>, 'cms_version': '3.4.3', u'LANGUAGE_CODE': 'en', 'children': [<Navigation Node: Faculty>, <Navigation Node: Staff>, <Navigation Node: Student>], 'ancestors': [<Navigation Node: Home>, <Navigation Node: People>, <Navigation Node: Faculty>], 'placeholder': u'content', 'namespace': None, 'SEKIZAI_CONTENT_HOLDER': defaultdict(<class 'sekizai.data.UniqueSequence'>, {u'css': <sekizai.data.UniqueSequence object at 0x7f217bb8e990>}), 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> >, 'has_view_permissions': True, 'template': 'menu/breadcrumb.html', 'True': True, 'None': None, 'to_level': 100, 'CMS_MEDIA_URL': '/media/cms/', 'from_level': 1, u'STATIC_URL': '/static/', u'LANGUAGES': (('en', 'en'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f2188f6a610>>, 'cms_edit_off': 'edit_off', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'has_change_permissions': False, 'django_version': '1.8.17', 'lang': 'en', 'False': False, 'cms_edit_on': 'edit', 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_3503_45471', 'revcounter': 1, 'last': True, 'instance': <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" c... <trimmed 5888 bytes string> |
/home/web/www/django_cms/website/profile_faculty/models.py
in _get_institute_profile
def _get_institute_profile(self,):
"""
Refresh
"""
i = 1
self.refresh_institute_profile()
#return self.json_data
data_personal = json.loads(self.json_data)["data"]['profile_page']...
#data_personal = json.loads(self.json_data)["data"]["profile_page"]
return unescape_entities(data_personal)
personal_info = property(_get_institute_profile)
@python_2_unicode_compatible
Variable | Value |
---|---|
i | 1 |
self | <InstituteProfile: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39998068-2', 'iiserkol.ac.in'); ga('send', 'pageview'); </script> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="/static_reg/style.css"> <link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" /> <script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="/static_reg/misc.js"></script> <title> My Profile Portal @ IISER Kolkata </title> </head> <body> <div id="main" style="width:940px;text-align:justify;"> <img src="/static_reg/iiserk_head.png " alt="IISERK Logo" /> <h4> My Profile Portal @ IISER Kolkata </h4> <div id="content" > <div id="studentinfo" > </div> <br> <center> <span style="color:red;"> Restricted Access! </span><br> </center> <br> </div> <br><br><div class="footer"> <br> </div> <script type="text/javascript"> function session_keep_alive() { http_request = new XMLHttpRequest(); http_request.open('GET', "/myprofile/generalpayment/django-session-idle-timeout/"); http_request.send(null); } // ping every five minutes setInterval(session_keep_alive, 900000); </script> <br> <div style="text-align:center;"> <a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a> </div> </div></body></html> > |
/usr/lib64/python2.7/json/__init__.py
in loads
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg; otherwise ``JSONDecoder`` is used.
"""
if (cls is None and encoding is None and object_hook is None and
parse_int is None and parse_float is None and
parse_constant is None and object_pairs_hook is None and not kw):
return _default_decoder.decode(s)...
if cls is None:
cls = JSONDecoder
if object_hook is not None:
kw['object_hook'] = object_hook
if object_pairs_hook is not None:
kw['object_pairs_hook'] = object_pairs_hook
Variable | Value |
---|---|
parse_constant | None |
parse_float | None |
object_hook | None |
encoding | None |
parse_int | None |
s | '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> \n<html>\n<head>\n<script>\n(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-39998068-2\', \'iiserkol.ac.in\');\n ga(\'send\', \'pageview\');\n</script>\n\n<meta http-equiv="Content-Style-Type" content="text/css">\n<meta http-equiv="Content-Script-Type" content="text/javascript">\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n\n<link rel="stylesheet" type="text/css" href="/static_reg/style.css">\n<link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" />\n\n<script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script>\n<script type="text/javascript" src="/static_reg/misc.js"></script>\n<title> \nMy Profile Portal @ IISER Kolkata </title>\n\n</head>\n\n<body> \n<div id="main" style="width:940px;text-align:justify;">\n<img src="/static_reg/iiserk_head.png " alt="IISERK Logo" />\n<h4> \nMy Profile Portal\n @ IISER Kolkata </h4>\n<div id="content" >\n\n\n<div id="studentinfo" >\n</div>\n<br>\n\n<center>\n\n<span style="color:red;"> Restricted Access! </span><br>\n\n</center>\n\n<br>\n\n\n\n</div>\n\n\n<br><br><div class="footer">\n\n<br> </div>\n\n\n\n<script type="text/javascript">\n function session_keep_alive() {\n http_request = new XMLHttpRequest();\n http_request.open(\'GET\', "/myprofile/generalpayment/django-session-idle-timeout/");\n http_request.send(null);\n }\n\n // ping every five minutes\n setInterval(session_keep_alive, 900000);\n</script>\n\n\n<br>\n<div style="text-align:center;">\n<a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a>\n</div>\n</div></body></html>\n\n' |
kw | {} |
object_pairs_hook | None |
cls | None |
/usr/lib64/python2.7/json/decoder.py
in decode
self.scan_once = scanner.make_scanner(self)
def decode(self, s, _w=WHITESPACE.match):
"""Return the Python representation of ``s`` (a ``str`` or ``unicode``
instance containing a JSON document)
"""
obj, end = self.raw_decode(s, idx=_w(s, 0).end())...
end = _w(s, end).end()
if end != len(s):
raise ValueError(errmsg("Extra data", s, end, len(s)))
return obj
def raw_decode(self, s, idx=0):
Variable | Value |
---|---|
_w | <built-in method match of _sre.SRE_Pattern object at 0x7f21a05527b0> |
s | '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> \n<html>\n<head>\n<script>\n(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-39998068-2\', \'iiserkol.ac.in\');\n ga(\'send\', \'pageview\');\n</script>\n\n<meta http-equiv="Content-Style-Type" content="text/css">\n<meta http-equiv="Content-Script-Type" content="text/javascript">\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n\n<link rel="stylesheet" type="text/css" href="/static_reg/style.css">\n<link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" />\n\n<script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script>\n<script type="text/javascript" src="/static_reg/misc.js"></script>\n<title> \nMy Profile Portal @ IISER Kolkata </title>\n\n</head>\n\n<body> \n<div id="main" style="width:940px;text-align:justify;">\n<img src="/static_reg/iiserk_head.png " alt="IISERK Logo" />\n<h4> \nMy Profile Portal\n @ IISER Kolkata </h4>\n<div id="content" >\n\n\n<div id="studentinfo" >\n</div>\n<br>\n\n<center>\n\n<span style="color:red;"> Restricted Access! </span><br>\n\n</center>\n\n<br>\n\n\n\n</div>\n\n\n<br><br><div class="footer">\n\n<br> </div>\n\n\n\n<script type="text/javascript">\n function session_keep_alive() {\n http_request = new XMLHttpRequest();\n http_request.open(\'GET\', "/myprofile/generalpayment/django-session-idle-timeout/");\n http_request.send(null);\n }\n\n // ping every five minutes\n setInterval(session_keep_alive, 900000);\n</script>\n\n\n<br>\n<div style="text-align:center;">\n<a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a>\n</div>\n</div></body></html>\n\n' |
self | <json.decoder.JSONDecoder object at 0x7f21a05d3a10> |
/usr/lib64/python2.7/json/decoder.py
in raw_decode
This can be used to decode a JSON document from a string that may
have extraneous data at the end.
"""
try:
obj, end = self.scan_once(s, idx)
except StopIteration:
raise ValueError("No JSON object could be decoded")...
return obj, end
Variable | Value |
---|---|
s | '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> \n<html>\n<head>\n<script>\n(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-39998068-2\', \'iiserkol.ac.in\');\n ga(\'send\', \'pageview\');\n</script>\n\n<meta http-equiv="Content-Style-Type" content="text/css">\n<meta http-equiv="Content-Script-Type" content="text/javascript">\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n\n<link rel="stylesheet" type="text/css" href="/static_reg/style.css">\n<link rel="stylesheet" type="text/css" href="/static_reg/dropmenu.css" />\n\n<script type="text/javascript" src="/static_reg/jquery-2.1.3.min.js"></script>\n<script type="text/javascript" src="/static_reg/misc.js"></script>\n<title> \nMy Profile Portal @ IISER Kolkata </title>\n\n</head>\n\n<body> \n<div id="main" style="width:940px;text-align:justify;">\n<img src="/static_reg/iiserk_head.png " alt="IISERK Logo" />\n<h4> \nMy Profile Portal\n @ IISER Kolkata </h4>\n<div id="content" >\n\n\n<div id="studentinfo" >\n</div>\n<br>\n\n<center>\n\n<span style="color:red;"> Restricted Access! </span><br>\n\n</center>\n\n<br>\n\n\n\n</div>\n\n\n<br><br><div class="footer">\n\n<br> </div>\n\n\n\n<script type="text/javascript">\n function session_keep_alive() {\n http_request = new XMLHttpRequest();\n http_request.open(\'GET\', "/myprofile/generalpayment/django-session-idle-timeout/");\n http_request.send(null);\n }\n\n // ping every five minutes\n setInterval(session_keep_alive, 900000);\n</script>\n\n\n<br>\n<div style="text-align:center;">\n<a href="https://www.iiserkol.ac.in/"> 2024 © IISER Kolkata</a>\n</div>\n</div></body></html>\n\n' |
self | <json.decoder.JSONDecoder object at 0x7f21a05d3a10> |
idx | 0 |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
CONTEXT_DOCUMENT_ROOT | '/home/web/www/' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 mod_perl/2.0.10 Perl/v5.16.3' |
SCRIPT_NAME | u'/web' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/en/people/faculty/dps/biswarup/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
SSL_TLS_SNI | 'www.iiserkol.ac.in' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.iiserkol.ac.in' |
REMOTE_ADDR | '192.168.71.1' |
mod_wsgi.queue_start | '1711696709772123' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/home/web/www/en/people/faculty/dps/biswarup/' |
SERVER_PORT | '443' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '192.168.71.4' |
DOCUMENT_ROOT | '/home/web/www/' |
mod_wsgi.process_group | 'web_app_ssl' |
SCRIPT_FILENAME | '/home/web/www/django_cms/website/website/wsgi.py' |
SERVER_ADMIN | 'root@localhost' |
wsgi.input | <mod_wsgi.Input object at 0x7f218819f1f0> |
HTTP_HOST | 'www.iiserkol.ac.in' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/web/en/people/faculty/dps/biswarup/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f21885681b0> |
REMOTE_PORT | '37550' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'https' |
mod_wsgi.version | (3, 4) |
mod_wsgi.application_group | 'www.iiserkol.ac.in|/web' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'rgSiWKjemfkyFUKmPlP9pHGFlMWLgdnb' |
UNIQUE_ID | 'ZgZrRYFSOMRTYTR2UNVN5wAAAAU' |
website.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
TIME_ZONE | 'Asia/Kolkata' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en' |
ROOT_URLCONF | 'website.urls' |
LOGIN_URL | '/accounts/login/' |
BASE_DIR | '/home/web/www/django_cms/website' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/web/www/django_cms/website/static' |
USE_THOUSAND_SEPARATOR | False |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
COLUMN_WIDTH_CHOICES | (('10%', '10%'), ('20%', '20%'), ('25%', '25%'), ('33.33%', '33%'), ('50%', '50%'), ('60%', '60%'), ('66.66%', '66%'), ('75%', '75%'), ('100%', '100%')) |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'iiserk_website', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'root'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
STATIC_URL | '/static/' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
CMS_TEMPLATES | (('fullwidth.html', 'Fullwidth'), ('sidebar_left.html', 'Sidebar Left'), ('sidebar_right.html', 'Sidebar Right')) |
MIDDLEWARE_CLASSES | ('cms.middleware.utils.ApphookReloadMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware') |
USE_I18N | True |
TEXT_ADDITIONAL_TAGS | ('iframe',) |
CMS_LANGUAGES | {1: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': False, 'name': 'en', 'public': True, 'redirect_on_fallback': True}], <class cms.utils.conf.VERIFIED at 0x7f21a1100ae0>: True, 'default': {'hide_untranslated': False, 'public': True, 'redirect_on_fallback': True}} |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
CMSPLUGIN_FILER_IMAGE_STYLE_CHOICES | () |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'website.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
CMSPLUGIN_FILER_FOLDER_DEFAULT_STYLE | 'list' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('djangocms_admin_style', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'aldryn_apphooks_config', 'aldryn_categories', 'aldryn_common', 'aldryn_newsblog', 'aldryn_people', 'aldryn_translation_tools', 'parler', 'sortedm2m', 'taggit', 'menus', 'sekizai', 'treebeard', 'djangocms_text_ckeditor', 'filer', 'easy_thumbnails', 'djangocms_column', 'djangocms_link', 'cmsplugin_filer_file', 'cmsplugin_filer_folder', 'cmsplugin_filer_image', 'cmsplugin_filer_utils', 'djangocms_style', 'djangocms_snippet', 'djangocms_googlemap', 'djangocms_video', 'website', 'sorl.thumbnail', 'iiserk_upcoming_events', 'profile_faculty', 'djangocms_slider') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/home/web/www/django_cms/website/website/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
MANAGERS | () |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
CMSPLUGIN_FILER_FOLDER_STYLE_CHOICES | (('list', <django.utils.functional.__proxy__ object at 0x7f21a07eb490>), ('slideshow', <django.utils.functional.__proxy__ object at 0x7f21a07eb4d0>)) |
TEXT_ADDITIONAL_ATTRIBUTES | ('scrolling', 'allowfullscreen', 'frameborder', 'src', 'height', 'width') |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
CMSPLUGIN_FILER_IMAGE_DEFAULT_STYLE | '' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
PASSWORD_HASHERS | u'********************' |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/web/www/django_cms/website/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
CMSPLUGIN_FILER_FILE_DEFAULT_STYLE | '' |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
THOUSAND_SEPARATOR | ',' |
ADMINS | () |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
DATA_DIR | '/home/web/www/django_cms/website' |
SITE_ID | 1 |
CMS_PERMISSION | True |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
SECRET_KEY | u'********************' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/web/www/django_cms/website/website/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'sekizai.context_processors.sekizai', 'django.template.context_processors.static', 'cms.context_processors.cms_settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
CMSPLUGIN_FILER_FILE_STYLE_CHOICES | () |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'website.settings' |
USE_ETAGS | False |
LANGUAGES | (('en', 'en'),) |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
SESSION_COOKIE_NAME | 'sessionid' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
CMS_PLACEHOLDER_CONF | {} |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.