Failed lookup for key [3] in []
Request Method: | GET |
---|---|
Request URL: | https://sudikshaanalytics.com/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/ |
Django Version: | 3.1.5 |
Exception Type: | VariableDoesNotExist |
Exception Value: | Failed lookup for key [3] in [] |
Exception Location: | /website/webenv/lib/python3.8/site-packages/django/template/base.py, line 848, in _resolve_lookup |
Python Executable: | /website/webenv/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/website/sudikshaanalytics', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/website/webenv/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 18:51:36 +0000 |
In template /website/sudikshaanalytics/sudikshaanalytics/templates/main_template.html
, error at line 0
1 | |
---|---|
2 | <html lang="en"> |
3 | <head> |
4 | <!-- Global site tag (gtag.js) - Google Analytics --> |
5 | <script async src="https://www.googletagmanager.com/gtag/js?id=G-LDGX0C6XM9"></script> |
6 | <script> |
7 | window.dataLayer = window.dataLayer || []; |
8 | function gtag(){dataLayer.push(arguments);} |
9 | gtag('js', new Date()); |
10 |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 829, in _resolve_lookup
detail and shouldn't be called by external code. Use Variable.resolve()
instead.
"""
current = context
try: # catch-all for silent variable failures
for bit in self.lookups:
try: # dictionary lookup
current = current[bit]…
# 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):
Variable | Value |
---|---|
bit | '3' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
current | [] |
self | <Variable: 'blogs.3'> |
template_name | 'single_blog.html' |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 837, 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):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]
Variable | Value |
---|---|
bit | '3' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
current | [] |
self | <Variable: 'blogs.3'> |
template_name | 'single_blog.html' |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 843, in _resolve_lookup
raise AttributeError
current = getattr(current, bit)
except (TypeError, AttributeError):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]…
except (IndexError, # list index out of range
ValueError, # invalid literal for int()
KeyError, # current is a dict without `int(bit)` key
TypeError): # unsubscriptable object
raise VariableDoesNotExist("Failed lookup for key "
"[%s] in %r",
Variable | Value |
---|---|
bit | '3' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
current | [] |
self | <Variable: 'blogs.3'> |
template_name | 'single_blog.html' |
/website/webenv/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | VariableDoesNotExist('Failed lookup for key [%s] in %r', ('3', [])) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f771ff828e0>> |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
/website/webenv/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function detailedblog at 0x7f771da5e160> |
callback_args | () |
callback_kwargs | {'value': 'Top-10-Data-Science-Books-To-Read-in-2021'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f771f7f4370>> |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f771ff828e0> |
wrapped_callback | <function detailedblog at 0x7f771da5e160> |
/website/sudikshaanalytics/sudikshaanalytics/views.py
, line 428, in detailedblog
for elt in rec:
d= []
d.append(str(elt.title))
d.append(elt.publish_date)
d.append(elt.image_filename)
d.append(str(elt.title).replace(' ', '-'))
recent.append(d)
return render(request, 'single_blog.html', {'blogs': res, 'recent': recent})…
@login_required
def user_courses(request):
if request.user.is_authenticated:
id = request.user.id
entry = user_cart.objects.filter(user_id = id, status = "Success").values()
Variable | Value |
---|---|
d | ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?'] |
elt | <Blog: How to impute missing values?> |
objects | <QuerySet []> |
rec | <QuerySet [<Blog: Why Learn Python?>, <Blog: Sudiksha Analytics as a Training Hub>, <Blog: How to Become a Successful Data Scientist in 2020?>, <Blog: Machine Learning Interview Questions>, <Blog: How to impute missing values?>]> |
recent | [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']] |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
res | [] |
value | 'Top-10-Data-Science-Books-To-Read-in-2021' |
/website/webenv/lib/python3.8/site-packages/django/shortcuts.py
, line 19, in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]} |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
status | None |
template_name | 'single_blog.html' |
using | None |
/website/webenv/lib/python3.8/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]} |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
template | <django.template.backends.django.Template object at 0x7f770bcced90> |
template_name | 'single_blog.html' |
using | None |
/website/webenv/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
request | <WSGIRequest: GET '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/'> |
self | <django.template.backends.django.Template object at 0x7f770bcced90> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.template.base.Template object at 0x7f770bd2df40> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.template.base.Template object at 0x7f770bd2df40> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
node | <ExtendsNode: extends "main_template.html"> |
self | [<ExtendsNode: extends "main_template.html">] |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <ExtendsNode: extends "main_template.html"> |
/website/webenv/lib/python3.8/site-packages/django/template/loader_tags.py
, line 150, in render
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.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f770bd01070> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n\n '>]>, 'title': <Block Node: title. Contents: [<TextNode: 'Page Title'>]>} |
compiled_parent | <django.template.base.Template object at 0x7f770bccddc0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
node | <Block Node: title. Contents: [<TextNode: 'Page Title'>]> |
self | <ExtendsNode: extends "main_template.html"> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.template.base.Template object at 0x7f770bccddc0> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '"></script>\n\n ' |
bits | ['\n' '<html lang="en">\n' '<head>\n' ' <!-- Global site tag (gtag.js) - Google Analytics -->\n' '<script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-LDGX0C6XM9"></script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'G-LDGX0C6XM9');\n" '</script>\n' '<!-- Clarity tracking code for https://www.sudikshaanalytics.com/ ' '--><script> (function(c,l,a,r,i,t,y){ ' 'c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; ' 't=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; ' 'y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, ' 'document, "clarity", "script", "57r0p8rc99");\n' '</script>\n' '<!-- Global site tag (gtag.js) - Google Analytics -->\n' '<script async ' 'src="https://www.googletagmanager.com/gtag/js?id=UA-148926949-1">\n' '</script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'UA-148926949-1');\n" '</script>\n' '<!-- Google tag (gtag.js) -->\n' '<script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-M3GYF2SNCV">\n' '</script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'G-M3GYF2SNCV');\n" '</script>\n' ' <meta charset="utf-8">\n' ' <meta content="width=device-width, initial-scale=1.0" name="viewport">\n' ' <title>', 'Blog | | Sudiksha Analytics', '</title>\n' '\n' ' <meta name="description" content="Sudiksha Analytics #1 Analytics Solution ' 'Provider in Data Science and Artificial Intelligence. We also help ' 'professionals learn trending technologies for career growth.">\n' ' <meta name="keywords" content="data science course training in hyderabad ' 'with placement, calssroom training, online training, analytics solution, ' 'artificial intelligence, business analytics, business intelligence, python, ' 'Power BI, MSBI">\n' ' <meta name="coverage" content="Worldwide">\n' ' <meta name="distribution" content="global">\n' '\n' ' <!-- Favicons -->\n' ' ', '', '\n <link href="', '/static/img/favicon.png', '" rel="icon">\n' '\n' ' <!-- Google Fonts -->\n' ' <link ' 'href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Jost:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" ' 'rel="stylesheet">\n' '\n' ' <!-- Vendor CSS Files -->\n' ' ', '', '\n\n <link href="', '/static/vendor/icofont/icofont.min.css', '" rel="stylesheet" type="text/css">\n <link href="', '/static/vendor/boxicons/css/boxicons.min.css', '" rel="stylesheet" type="text/css">\n <link href="', '/static/vendor/remixicon/remixicon.css', '" rel="stylesheet" type="text/css">\n <link href="', '/static/vendor/venobox/venobox.css', '" rel="stylesheet" type="text/css">\n <link href="', '/static/vendor/owl.carousel/assets/owl.carousel.min.css', '" rel="stylesheet" type="text/css">\n' ' <link rel="stylesheet" ' 'href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" ' 'type="text/css">\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>\n' ' <script ' 'src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>\n' ' <script ' 'src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>\n' ' <link rel="stylesheet" type="text/css" ' 'href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" ' 'integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" ' 'crossorigin="anonymous">\n' ' <link rel="stylesheet" ' 'href="https://maxst.icons8.com/vue-static/landings/line-awesome/font-awesome-line-awesome/css/all.min.css">\n' ' … <trimmed 15887 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
node | <Block Node: content. Contents: [<TextNode: '\n\n '>]> |
self | [<TextNode: '\n<html lang="en">\n<head>\n'>, <Block Node: title. Contents: [<TextNode: 'Page Title'>]>, <TextNode: '</title>\n\n <meta name="d'>, <django.template.defaulttags.LoadNode object at 0x7f770bd37070>, <TextNode: '\n <link href="'>, <django.templatetags.static.StaticNode object at 0x7f770bd376a0>, <TextNode: '" rel="icon">\n\n <!-- Goo'>, <django.template.defaulttags.LoadNode object at 0x7f770bcc6790>, <TextNode: '\n\n <link href="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc6760>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc6400>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc6a90>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc6610>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc61c0>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc68e0>, <TextNode: '" rel="stylesheet" type="'>, <django.templatetags.static.StaticNode object at 0x7f770bcc64f0>, <TextNode: '" rel="stylesheet" type="'>, <IfNode>, <TextNode: '\n </div>\n <script t'>, <django.template.defaulttags.URLNode object at 0x7f770bc89160>, <TextNode: '" class="logo mr-auto"><i'>, <django.templatetags.static.StaticNode object at 0x7f770bc89be0>, <TextNode: '" alt="" class="img-fluid'>, <IfNode>, <TextNode: '\n\n <script>\n '>, <django.template.defaulttags.LoadNode object at 0x7f770bd018e0>, <TextNode: '\n <script src="'>, <django.templatetags.static.StaticNode object at 0x7f770bd01df0>, <TextNode: '"></script>\n\n '>, <Block Node: content. Contents: [<TextNode: '\n\n '>]>, <TextNode: '\n\n <!-- ======= Footer ='>, <django.templatetags.static.StaticNode object at 0x7f770bd01100>, <TextNode: '" alt="" width="250px;" c'>, <django.template.defaulttags.URLNode object at 0x7f770bc80910>, <TextNode: '">Home</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7f770bc80430>, <TextNode: '">About us</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7f770bc80220>, <TextNode: '">Contact</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7f770bc80d60>, <TextNode: '">FAQ\'s</a></li>\n '>, <django.templatetags.static.StaticNode object at 0x7f770bc80a00>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f770bc80c10>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f770bc80370>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f770bc80b80>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f770bc805e0>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f770bc809d0>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f771d825670>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f771d825ca0>, <TextNode: '"></script>\n <script src'>, <django.templatetags.static.StaticNode object at 0x7f771d825a60>, <TextNode: '"></script>\n\n <!-- Templ'>, <django.templatetags.static.StaticNode object at 0x7f771d825fd0>, <TextNode: '"></script>\n <script typ'>] |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <Block Node: content. Contents: [<TextNode: '\n\n '>]> |
/website/webenv/lib/python3.8/site-packages/django/template/loader_tags.py
, line 62, 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 |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7f770bd45130>, <TextNode: '\n\n\n<style media="screen">'>, <Variable Node: blogs.0>, <TextNode: '</h2>\n\n </div>\n </sec'>, <django.templatetags.static.StaticNode object at 0x7f770bd45850>, <TextNode: '" alt="" class="img-fluid'>, <Variable Node: blogs.0>, <TextNode: '</a>\n </h2>\n'>, <Variable Node: blogs.1>, <TextNode: '</a></li>\n '>, <Variable Node: blogs.2>, <TextNode: '</time></a></li>\n '>, <Variable Node: blogs.4 |safe>, <TextNode: '\n </div>\n '>, <ForNode: for rec in recent, tail_len: 9>, <TextNode: '\n </div><!--'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f770bd01070> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
push | <Block Node: content. Contents: [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7f770bd45130>, <TextNode: '\n\n\n<style media="screen">'>, <Variable Node: blogs.0>, <TextNode: '</h2>\n\n </div>\n </sec'>, <django.templatetags.static.StaticNode object at 0x7f770bd45850>, <TextNode: '" alt="" class="img-fluid'>, <Variable Node: blogs.0>, <TextNode: '</a>\n </h2>\n'>, <Variable Node: blogs.1>, <TextNode: '</a></li>\n '>, <Variable Node: blogs.2>, <TextNode: '</time></a></li>\n '>, <Variable Node: blogs.4 |safe>, <TextNode: '\n </div>\n '>, <ForNode: for rec in recent, tail_len: 9>, <TextNode: '\n </div><!--'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n\n '>]> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('</h2>\n' '\n' ' </div>\n' ' </section><!-- End Breadcrumbs -->\n' '\n' '\n' ' <!-- ======= Blog Section ======= -->\n' ' <section id="blog" class="blog">\n' ' <div class="container">\n' '\n' ' <div class="row">\n' '\n' ' <div class="col-lg-8 entries">\n' '\n' ' <article class="entry entry-single">\n' '\n' ' <div class="entry-img">\n' ' <img src="') |
bits | ['\n\n', '', '\n' '\n' '\n' '<style media="screen">\n' ' .blog .entry-content li{\n' ' display: list-item;\n' ' }\n' '\n' ' .blog .entry .entry-content img{\n' '\n' ' }\n' '</style>\n' '\n' '<!-- ======= Breadcrumbs ======= -->\n' ' <section id="breadcrumbs" class="breadcrumbs">\n' ' <div class="container">\n' '\n' ' <ol>\n' ' <li><a href="index.html">Home</a></li>\n' ' <li>Blog</li>\n' ' </ol>\n' ' <h2>', '', '</h2>\n' '\n' ' </div>\n' ' </section><!-- End Breadcrumbs -->\n' '\n' '\n' ' <!-- ======= Blog Section ======= -->\n' ' <section id="blog" class="blog">\n' ' <div class="container">\n' '\n' ' <div class="row">\n' '\n' ' <div class="col-lg-8 entries">\n' '\n' ' <article class="entry entry-single">\n' '\n' ' <div class="entry-img">\n' ' <img src="'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
node | <django.templatetags.static.StaticNode object at 0x7f770bd45850> |
self | [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7f770bd45130>, <TextNode: '\n\n\n<style media="screen">'>, <Variable Node: blogs.0>, <TextNode: '</h2>\n\n </div>\n </sec'>, <django.templatetags.static.StaticNode object at 0x7f770bd45850>, <TextNode: '" alt="" class="img-fluid'>, <Variable Node: blogs.0>, <TextNode: '</a>\n </h2>\n'>, <Variable Node: blogs.1>, <TextNode: '</a></li>\n '>, <Variable Node: blogs.2>, <TextNode: '</time></a></li>\n '>, <Variable Node: blogs.4 |safe>, <TextNode: '\n </div>\n '>, <ForNode: for rec in recent, tail_len: 9>, <TextNode: '\n </div><!--'>] |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.templatetags.static.StaticNode object at 0x7f770bd45850> |
/website/webenv/lib/python3.8/site-packages/django/templatetags/static.py
, line 106, in render
self.varname = varname
def url(self, context):
path = self.path.resolve(context)
return self.handle_simple(path)
def render(self, context):
url = self.url(context)…
if context.autoescape:
url = conditional_escape(url)
if self.varname is None:
return url
context[self.varname] = url
return ''
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.templatetags.static.StaticNode object at 0x7f770bd45850> |
/website/webenv/lib/python3.8/site-packages/django/templatetags/static.py
, line 102, in url
if path is None:
raise template.TemplateSyntaxError(
"Static template nodes must be given a path to return.")
self.path = path
self.varname = varname
def url(self, context):
path = self.path.resolve(context)…
return self.handle_simple(path)
def render(self, context):
url = self.url(context)
if context.autoescape:
url = conditional_escape(url)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <django.templatetags.static.StaticNode object at 0x7f770bd45850> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 692, in resolve
obj = self.var
for func, args in self.filters:
arg_vals = []
for lookup, arg in args:
if not lookup:
arg_vals.append(mark_safe(arg))
else:
arg_vals.append(arg.resolve(context))…
if getattr(func, 'expects_localtime', False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)
Variable | Value |
---|---|
arg | <Variable: 'blogs.3'> |
arg_vals | [] |
args | [(True, <Variable: 'blogs.3'>)] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
func | <function add at 0x7f77241b6280> |
ignore_failures | False |
lookup | True |
obj | 'img/blogs/' |
self | <django.template.base.FilterExpression object at 0x7f770bd45190> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 796, 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:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
self | <Variable: 'blogs.3'> |
/website/webenv/lib/python3.8/site-packages/django/template/base.py
, line 848, in _resolve_lookup
raise
try: # list-index lookup
current = current[int(bit)]
except (IndexError, # list index out of range
ValueError, # invalid literal for int()
KeyError, # current is a dict without `int(bit)` key
TypeError): # unsubscriptable object
raise VariableDoesNotExist("Failed lookup for key "…
"[%s] in %r",
(bit, current)) # missing attribute
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
Variable | Value |
---|---|
bit | '3' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'blogs': [], 'recent': [['Why Learn Python?', datetime.date(2020, 1, 1), 'python.png', 'Why-Learn-Python?'], ['Sudiksha Analytics as a Training Hub', datetime.date(2020, 2, 3), 'sudiksha.png', 'Sudiksha-Analytics-as-a-Training-Hub'], ['How to Become a Successful Data Scientist in 2020?', datetime.date(2020, 2, 12), 'ds2020.png', 'How-to-Become-a-Successful-Data-Scientist-in-2020?'], ['Machine Learning Interview Questions', datetime.date(2020, 2, 17), 'ml.jpg', 'Machine-Learning-Interview-Questions'], ['How to impute missing values?', datetime.date(2020, 4, 18), 'mv.jpg', 'How-to-impute-missing-values?']]}] |
current | [] |
self | <Variable: 'blogs.3'> |
template_name | 'single_blog.html' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/html' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'sudikshaanalytics.com' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/' |
PATH_TRANSLATED | '/website/sudikshaanalytics/sudikshaanalytics/wsgi.py/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/' |
QUERY_STRING | '' |
REMOTE_ADDR | '35.171.22.220' |
REMOTE_PORT | '58598' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/' |
SCRIPT_FILENAME | '/website/sudikshaanalytics/sudikshaanalytics/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '143.110.243.21' |
SERVER_ADMIN | 'admin@sudikshaanalytics.com' |
SERVER_NAME | 'sudikshaanalytics.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | 'Apache/2.4.41 (Ubuntu)' |
SSL_TLS_SNI | 'sudikshaanalytics.com' |
apache.version | (2, 4, 41) |
mod_wsgi.application_group | 'sudikshaanalytics.com|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711651896751783' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/blog/read/Top-10-Data-Science-Books-To-Read-in-2021/' |
mod_wsgi.process_group | 'website' |
mod_wsgi.queue_start | '1711651896751618' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'afVIA2VwcyA' |
mod_wsgi.request_start | '1711651896751465' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711651896751901' |
mod_wsgi.thread_id | 4 |
mod_wsgi.thread_requests | 1957 |
mod_wsgi.total_requests | 6806 |
mod_wsgi.version | (4, 6, 8) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | <class 'mod_wsgi.FileWrapper'> |
wsgi.input | <mod_wsgi.Input object at 0x7f770bc8b810> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
sudikshaanalytics.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*', '143.110.243.21', 'www.sudikshaanalytics.com', 'sudikshaanalytics.com', 'localhost'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/website/sudikshaanalytics') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CART_SESSION_ID | 'cart' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/website/sudikshaanalytics/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'TestSite Team <admin@sudikshaanalytics.com>' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
DJRICHTEXTFIELD_CONFIG | {'init_template': 'djrichtextfield/init/tinymce.js', 'js': ['https://cdn.tiny.cloud/1/no-api-key/tinymce/5.6.2-104/tinymce.min.js'], 'settings': {'height': 400, 'menubar': True, 'plugins': 'link image', 'toolbar': 'bold italic | link image | removeformat', 'width': 700}} |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'analytics.sudiksha@gmail.com' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['sslserver', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'sudikshaanalytics', 'markdown_view', 'paypal.standard.ipn', 'django.contrib.sitemaps', 'crispy_forms', 'djrichtextfield'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'index' |
LOGIN_URL | 'login' |
LOGOUT_REDIRECT_URL | 'index' |
LOGOUT_URL | 'logout' |
MANAGERS | [] |
MARKDOWNX_MARKDOWN_EXTENSIONS | ['tables'] |
MARKDOWN_VIEW_BASE_DIR | '/blogs/' |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PAYPAL_RECEIVER_EMAIL | 'ceo@sudikshaanalytics.com' |
PAYPAL_TEST | False |
PREPEND_WWW | False |
PROJECT_DIR | '/website/sudikshaanalytics/sudikshaanalytics' |
ROOT_URLCONF | 'sudikshaanalytics.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'sudikshaanalytics.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/website/sudikshaanalytics/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/website/sudikshaanalytics/sudikshaanalytics/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'sudikshaanalytics.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
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.