list index out of range
Request Method: | GET |
---|---|
Request URL: | https://www.testesdecodigogratis.com/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/ |
Django Version: | 1.7.1 |
Exception Type: | IndexError |
Exception Value: | list index out of range |
Exception Location: | /home/tcg/website/tcg/main/templatetags/short_urls.py in trim_url, line 52 |
Python Executable: | /home/tcg/website/bin/uwsgi |
Python Version: | 2.7.5 |
Python Path: | ['.', '/home/tcg/website/tcg', '', '/home/tcg/website/lib64/python27.zip', '/home/tcg/website/lib64/python2.7', '/home/tcg/website/lib64/python2.7/plat-linux2', '/home/tcg/website/lib64/python2.7/lib-tk', '/home/tcg/website/lib64/python2.7/lib-old', '/home/tcg/website/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7', '/home/tcg/website/lib/python2.7/site-packages'] |
Server time: | Ter, 19 Mar 2024 04:06:06 +0000 |
In template /home/tcg/website/tcg/theme/templates/generic/includes/comment.html
, error at line 39
29 | <div class="media-body"> |
---|---|
30 | <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> |
31 | <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ comment.user_name }}</span></h5> |
32 | |
33 | <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="{{ comment.submit_date|date:"c" }}">{% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} atrás{% endblocktrans %}</time></div> |
34 | |
35 | {% if comment.is_public %} |
36 | {% if comment.user.userprofile.instrutor or comment.user.is_staff %} |
37 | <p class="comment-text" itemprop="commentText">{{ comment.comment|safe|comment_filter }}</p> |
38 | {% else %} |
39 | <p class="comment-text" itemprop="commentText">{{ comment.comment|short_urls|comment_filter }}</p> |
40 | {% endif %} |
41 | |
42 | <div class="comment-actions"> |
43 | <a class="btn btn-xs btn-default comment-reply" href="#reply-{{ comment.id }}"> |
44 | <span class="fa fa-reply"></span> {% trans "Reply" %} |
45 | </a> |
46 | <a class="btn btn-xs btn-default comment-link" href="{{ request.path }}#comment-{{ comment.id }}"> |
47 | <span class="fa fa-link"></span> {% trans "Link" %} |
48 | </a> |
49 | {% if request.user.is_superuser %} |
/home/tcg/website/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
% (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
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=<function blog_post_detail at 0x7f76314e6a28>, args=(), kwargs={u'slug': u'carta-de-conducao-pela-internet-a-partir-de-janeiro'}, url_name='blog_post_detail', app_name='None', namespace='') |
middleware_method | <bound method TemplateForDeviceMiddleware.process_template_response of <mezzanine.core.middleware.TemplateForDeviceMiddleware object at 0x7f7631668c10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7635e38110> |
request | "<WSGIRequest\npath:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.testesdecodigogratis.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.84.65.73',\n 'REMOTE_PORT': '40682',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.testesdecodigogratis.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'apollo',\n 'uwsgi.version': '2.0.11.1',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function blog_post_detail at 0x7f76314e6a28> |
wrapped_callback | <function blog_post_detail at 0x7f76314e6a28> |
resolver | <RegexURLResolver u'tcg.urls' (None:None) ^/> |
callback_kwargs | {u'slug': u'carta-de-conducao-pela-internet-a-partir-de-janeiro'} |
response | <django.template.response.TemplateResponse object at 0x7f76315c3490> |
urlconf | u'tcg.urls' |
/home/tcg/website/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 0x7f76315c3490> |
retval | <django.template.response.TemplateResponse object at 0x7f76315c3490> |
/home/tcg/website/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)...
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 0x7f76315c3490> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
template | <django.template.base.Template object at 0x7f762979f2d0> |
/home/tcg/website/lib/python2.7/site-packages/django/template/base.py
in render
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:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f762979f2d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f762979f2d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 "template_sidebar.html"> |
self | [<ExtendsNode: extends "template_sidebar.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 "template_sidebar.html"> |
self | [<ExtendsNode: extends "template_sidebar.html">] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict((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 | <ExtendsNode: extends "base.html"> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f763149e050> |
compiled_parent | <django.template.base.Template object at 0x7f762979f590> |
self | <ExtendsNode: extends "template_sidebar.html"> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f762979f590> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict((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 | <Variable Node: LANGUAGE_CODE> |
blocks | {u'body_class': <Block Node: body_class. Contents: []>, u'body_id': <Block Node: body_id. Contents: []>, u'extra_head': <Block Node: extra_head. Contents: []>, u'extra_scripts': <Block Node: extra_scripts. Contents: []>, u'header': <Block Node: header. Contents: [<Text Node: ' <header id="'>, <django.template.defaulttags.URLNode object at 0x7f763140a390>, <Text Node: '" title="Testes de C?digo'>]>, u'js_globals': <Block Node: js_globals. Contents: []>, u'main': <Block Node: main. Contents: []>, u'meta_description': <Block Node: meta_description. Contents: [<Text Node: 'Testes de C?digo IMTT. Os'>]>, u'meta_image': <Block Node: meta_image. Contents: [<Text Node: 'https://'>, <Variable Node: request.META.HTTP_HOST>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7630777d50>]>, u'meta_keywords': <Block Node: meta_keywords. Contents: [<Text Node: 'testes de c?digo imtt, ex'>]>, u'meta_robots': <Block Node: meta_robots. Contents: [<Text Node: 'index,follow'>]>, u'meta_title': <Block Node: meta_title. Contents: []>, u'meta_title_suffix': <Block Node: meta_title_suffix. Contents: [<IfNode>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f763149e050> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
compiled_parent | <django.template.base.Template object at 0x7f76307772d0> |
self | <ExtendsNode: extends "base.html"> |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f76307772d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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: main. Contents: []> |
bit | u'\n\n ' |
bits | [u'<!doctype html>\n<html lang="', u'pt', u'"', u'', u'>\n', u'', u'\n <head>\n ', u'', u'\n\n ', u'', u'\n\n ', u'', u'\n\n <meta http-equiv="Content-type" content="text/html; charset=utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <title>', u'Carta de condu\xe7\xe3o pela Internet a partir de Janeiro | Testes de C\xf3digo Gr\xe1tis', u'</title>\n <meta name="description" content="', u'A partir do dia 2 de Janeiro de 2017 poder\xe1 pedir a emiss\xe3o ou revalida\xe7\xe3o da carta de condu\xe7\xe3o, de motociclos ou autom\xf3veis ligeiros, atrav\xe9s da internet.', u'">\n <meta name="keywords" content="', u'imt, carta de condu\xe7\xe3o, internet, online, noticias, simplex', u'">\n <meta name="robots" content="', u'index,follow', u'" />\n\n <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">\n <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">\n <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">\n <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">\n <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">\n <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">\n <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">\n <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">\n <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">\n <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">\n <link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">\n <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">\n <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">\n <link rel="manifest" href="/manifest.json">\n <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#E5544F">\n <meta name="apple-mobile-web-app-title" content="Testes de C\xf3digo Gr\xe1tis">\n <meta name="application-name" content="Testes de C\xf3digo Gr\xe1tis">\n <meta name="msapplication-TileColor" content="#E5544F">\n <meta name="msapplication-TileImage" content="/mstile-144x144.png">\n <meta name="theme-color" content="#E5544F">\n\n ', u'\n <link rel="alternate" type="application/rss+xml" title="RSS" href="/blog/feeds/rss/">\n <link rel="alternate" type="application/atom+xml" title="Atom" href="/blog/feeds/atom/">\n ', u'\n\n <script type="text/javascript">\n Globals = window.Globals || {};\n Globals.ws = \'', u'wss://www.testesdecodigogratis.com/ws/', u"';\n Globals.logged_in = ", u'false', u";\n Globals.image_url_prefix = '", u'/static/images', u"';\n ", u'', u'\n </script>\n\n <link rel="stylesheet" href="', u'/static/css/layout.css', u'?v=', u'08647f6', u'">\n\n <!--[if lt IE 9]>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>\n <![endif]-->\n\n <meta property="og:title" content="', u'Carta de condu\xe7\xe3o pela Internet a partir de Janeiro | Testes de C\xf3digo Gr\xe1tis', u'" />\n <meta property="og:type" content="website" />\n <meta property="og:url" content="https://', u'www.testesdecodigogratis.com', u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'" />\n <meta property="og:image" content="', u'https://www.testesdecodigogratis.com/media/uploads/blog/carta-conducao-online.jpg', u'" />\n <meta property="og:description" content="', u'A partir do dia 2 de Janeiro de 2017 poder\xe1 pedir a emiss\xe3o ou revalida\xe7\xe3o da carta de condu\xe7\xe3o, de motociclos ou autom\xf3veis ligeiros, atrav\xe9s da internet.', u'" />\n <meta property="og:locale" content="pt_PT" />\n <meta property="og:site_name" content="', u'Testes de C\xf3digo Gr\xe1tis', u'" />\n\n <meta name="twitter:card" content="summary">\n <meta name="twitter:site" content="@', u'https://twitter.com/TestesDeCodigo/', u'">\n <meta name="twitter:title" content="', u'Carta de condu\xe7\xe3o pela Internet a partir de Janeiro | Testes de C\xf3digo Gr\xe1tis', u'">\n <meta name="twitter:description" content="', u'A partir do dia 2 de Janeiro de 2017 poder\xe1 pedir a emiss\xe3o ou revalida\xe7\xe3o da carta de condu\xe7\xe3o, de motociclos ou autom\xf3veis ligeiros, atrav\xe9s da internet.', u'">\n <meta name="twitter:image" content="', u'https://www.testesdecodigogratis.com/media/uploads/blog/carta-conducao-online.jpg', u'">\n\n <meta property="fb:app_id" content="357697657593925" />\n <meta name="msvalidate.01" content="20EA528B233B6D47C4B2204854D2AF74" />\n <link rel="publisher" href="', u'https://plus.google.com/+Testesdecodigogratiscom/', u'"/>\n <meta name="alexaVerifyID" content="X1jKvKX_lo034TbGYDfz1xRZnVU"/>\n <meta name="wot-verification" content="b629fd13639d3290be2b"/>\n\n <script type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "Testes de C\xf3digo Gr\xe1tis", "url": "https://www.testesdecodigogratis.com/", "sameAs": [ "', u'https://facebook.com/TestesDeCodigo/', u'", "', u'https://twitter.com/TestesDeCodigo/', u'", "', u'https://plus.google.com/+Testesdecodigogratiscom/', u'" ] }</script>\n\n <script src="https://cdn.jsdelivr.net/es6-promise-polyfill/1.1.1/promise.min.js"></script>\n\n <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({\n google_ad_client: "ca-pub-2566784795967596",\n enable_page_level_ads: true\n });\n </script>\n\n ', u'', u'\n </head>\n\n <body id="', u'blog', u'" class="', u'', u'">\n ', u"\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-17387647-1', 'auto');\n ga('send', 'pageview');\n </script>\n ", u'\n\n <div id="fb-root"></div>\n <script>(function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/pt_PT/sdk.js#xfbml=1&version=v2.3&appId=357697657593925";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));</script>\n\n <nav class="navbar navbar-inverse navbar-static-top" id="nav" data-spy="affix">\n <div class="container">\n <div class="row">\n <div class="navbar-header">\n <a class="navbar-brand visible-xs-block" title="Testes de C\xf3digo Gr\xe1tis IMTT" href="', u'/', u'">Testes de C\xf3digo Gr\xe1tis IMTT</a>\n <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">\n <span class="fa fa-bars"></span>\n </button>\n </div>\n <div class="collapse navbar-collapse navbar-left">\n <ul class="nav navbar-nav">\n <li><a href="', u'/', u'" title="Testes de C\xf3digo Gr\xe1tis"><span class="fa fa-home"></span> <span class="visible-xs-inline">Primeira P\xe1gina</span></a></li>\n <li><a href="', u'/testes/', u'" title="Testes de c\xf3digo"><span class="fa fa-th-list visible-xs-inline-block"></span> Testes de C\xf3digo</a></li>\n <li><a href="', u'/material-estudo/', u'" title="Biblioteca de material de estudo"><span class="fa fa-book visible-xs-inline-block"></span> Material de Estudo</a></li>\n <li><a href="', u'/escolas-de-conducao/', u'" title="Escolas de Condu\xe7\xe3o"><span class="fa fa-car visible-xs-inline-block"></span> Escolas</a></li>\n <li><a href="', u'/blog/', u'" title="O blog de Testes de C\xf3digo Gr\xe1tis"><span class="fa fa-newspaper-o visible-xs-inline-block"></span> Blog</a></li>\n </ul>\n </div>\n\n <div class="collapse navbar-collapse navbar-right">\n <ul class="nav navbar-nav">\n ', u'\n <li><a href="/conta/login/" rel="nofollow"><span class="fa fa-sign-in visible-xs-inline-block"></span> Login</a></li>\n <li><a href="/conta/signup/" rel="nofollow"><span class="fa fa-user visible-xs-inline-block"></span> Registar</a></li>\n ', u'\n </ul>\n </div>\n </div>\n </div>\n </nav>\n\n ', u'\n <header id="header">\n <div class="container">\n <div class="row">\n <h2 id="page-logo-lettering"><a href="/" title="Testes de C\xf3digo Gr\xe1tis">Testes de C\xf3digo Gr\xe1tis</a></h2>\n\n <div class="banner banner-header">\n <ins class="adsbygoogle"\n style="display:block"\n data-ad-client="ca-pub-2566784795967596"\n data-ad-slot="9242213062"\n data-ad-format="horizontal"></ins>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n </script>\n </div>\n </div>\n </div>\n </header>\n ', u'\n\n ', u'\n \n ', u'\n\n '] |
self | [<Text Node: '<!doctype html> <html lan'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"'>, <IfNode>, <Text Node: '> '>, <django.template.defaulttags.LoadNode object at 0x7f7630777c50>, <Text Node: ' <head> '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f7630777450>, <Text Node: ' '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f76307774d0>, <Text Node: ' '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f7631331fd0>, <Text Node: ' <meta http-equi'>, <mezzanine.template.ToEndTagNode object at 0x7f7631331f10>, <Text Node: '</title> <meta na'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146a50>, <Text Node: '"> <meta name="ke'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146590>, <Text Node: '"> <meta name="ro'>, <Block Node: meta_robots. Contents: [<Text Node: 'index,follow'>]>, <Text Node: '" /> <link rel="'>, <mezzanine.core.templatetags.mezzanine_tags.IfInstalledNode object at 0x7f7631146d90>, <Text Node: ' <script type="t'>, <Variable Node: WEBSOCKET_URI>, <Text Node: ''; Globals.lo'>, <IfNode>, <Text Node: '; Globals.ima'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7631146410>, <Text Node: ''; '>, <Block Node: js_globals. Contents: []>, <Text Node: ' </script> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f76311469d0>, <Text Node: '?v='>, <Variable Node: BUILD_VERSION>, <Text Node: '"> <!--[if lt IE'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146750>, <Text Node: '" /> <meta proper'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: request.get_full_path>, <Text Node: '" /> <meta proper'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146150>, <Text Node: '" /> <meta proper'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146d50>, <Text Node: '" /> <meta proper'>, <Variable Node: settings.SITE_TITLE>, <Text Node: '" /> <meta name='>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126a10>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126d50>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126dd0>, <Text Node: '"> <meta propert'>, <Variable Node: settings.SOCIAL_LINK_GOOGLEPLUS>, <Text Node: '"/> <meta name="a'>, <Variable Node: settings.SOCIAL_LINK_FACEBOOK>, <Text Node: '", "'>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '", "'>, <Variable Node: settings.SOCIAL_LINK_GOOGLEPLUS>, <Text Node: '" ] }</script> <'>, <Block Node: extra_head. Contents: []>, <Text Node: ' </head> <body i'>, <Block Node: body_id. Contents: []>, <Text Node: '" class="'>, <Block Node: body_class. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' <div id="fb-roo'>, <django.template.defaulttags.URLNode object at 0x7f7631126990>, <Text Node: '">Testes de C?digo Gr?tis'>, <django.template.defaulttags.URLNode object at 0x7f7631126450>, <Text Node: '" title="Testes de C?digo'>, <django.template.defaulttags.URLNode object at 0x7f7631144050>, <Text Node: '" title="Testes de c?digo'>, <django.template.defaulttags.URLNode object at 0x7f7631144390>, <Text Node: '" title="Biblioteca de ma'>, <django.template.defaulttags.URLNode object at 0x7f7631412d10>, <Text Node: '" title="Escolas de Condu'>, <django.template.defaulttags.URLNode object at 0x7f76314127d0>, <Text Node: '" title="O blog de Testes'>, <IfNode>, <Text Node: ' '>, <Block Node: header. Contents: [<Text Node: ' <header id="'>, <django.template.defaulttags.URLNode object at 0x7f763140a390>, <Text Node: '" title="Testes de C?digo'>]>, <Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f763140ac50>, <Text Node: ' '>, <Block Node: main. Contents: []>, <Text Node: ' <footer id="foo'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7630b91990>, <Text Node: '" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7630b91190>, <Text Node: '" /> '>, <django.template.defaulttags.NowNode object at 0x7f7630b91710>, <Text Node: '<br> '>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '">@testesdecodigo</a> '>, <Variable Node: settings.SOCIAL_LINK_FACEBOOK>, <Text Node: '" target="_blank" rel="no'>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '" target="_blank" rel="no'>, <django.template.defaulttags.SpacelessNode object at 0x7f763129d4d0>, <Text Node: ' <div id="outdate'>] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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: main. Contents: []> |
self | [<Text Node: '<!doctype html> <html lan'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"'>, <IfNode>, <Text Node: '> '>, <django.template.defaulttags.LoadNode object at 0x7f7630777c50>, <Text Node: ' <head> '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f7630777450>, <Text Node: ' '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f76307774d0>, <Text Node: ' '>, <main.templatetags.kwacros.DefineMacroNode object at 0x7f7631331fd0>, <Text Node: ' <meta http-equi'>, <mezzanine.template.ToEndTagNode object at 0x7f7631331f10>, <Text Node: '</title> <meta na'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146a50>, <Text Node: '"> <meta name="ke'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146590>, <Text Node: '"> <meta name="ro'>, <Block Node: meta_robots. Contents: [<Text Node: 'index,follow'>]>, <Text Node: '" /> <link rel="'>, <mezzanine.core.templatetags.mezzanine_tags.IfInstalledNode object at 0x7f7631146d90>, <Text Node: ' <script type="t'>, <Variable Node: WEBSOCKET_URI>, <Text Node: ''; Globals.lo'>, <IfNode>, <Text Node: '; Globals.ima'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7631146410>, <Text Node: ''; '>, <Block Node: js_globals. Contents: []>, <Text Node: ' </script> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f76311469d0>, <Text Node: '?v='>, <Variable Node: BUILD_VERSION>, <Text Node: '"> <!--[if lt IE'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146750>, <Text Node: '" /> <meta proper'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: request.get_full_path>, <Text Node: '" /> <meta proper'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146150>, <Text Node: '" /> <meta proper'>, <mezzanine.template.ToEndTagNode object at 0x7f7631146d50>, <Text Node: '" /> <meta proper'>, <Variable Node: settings.SITE_TITLE>, <Text Node: '" /> <meta name='>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126a10>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126d50>, <Text Node: '"> <meta name="tw'>, <mezzanine.template.ToEndTagNode object at 0x7f7631126dd0>, <Text Node: '"> <meta propert'>, <Variable Node: settings.SOCIAL_LINK_GOOGLEPLUS>, <Text Node: '"/> <meta name="a'>, <Variable Node: settings.SOCIAL_LINK_FACEBOOK>, <Text Node: '", "'>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '", "'>, <Variable Node: settings.SOCIAL_LINK_GOOGLEPLUS>, <Text Node: '" ] }</script> <'>, <Block Node: extra_head. Contents: []>, <Text Node: ' </head> <body i'>, <Block Node: body_id. Contents: []>, <Text Node: '" class="'>, <Block Node: body_class. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' <div id="fb-roo'>, <django.template.defaulttags.URLNode object at 0x7f7631126990>, <Text Node: '">Testes de C?digo Gr?tis'>, <django.template.defaulttags.URLNode object at 0x7f7631126450>, <Text Node: '" title="Testes de C?digo'>, <django.template.defaulttags.URLNode object at 0x7f7631144050>, <Text Node: '" title="Testes de c?digo'>, <django.template.defaulttags.URLNode object at 0x7f7631144390>, <Text Node: '" title="Biblioteca de ma'>, <django.template.defaulttags.URLNode object at 0x7f7631412d10>, <Text Node: '" title="Escolas de Condu'>, <django.template.defaulttags.URLNode object at 0x7f76314127d0>, <Text Node: '" title="O blog de Testes'>, <IfNode>, <Text Node: ' '>, <Block Node: header. Contents: [<Text Node: ' <header id="'>, <django.template.defaulttags.URLNode object at 0x7f763140a390>, <Text Node: '" title="Testes de C?digo'>]>, <Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f763140ac50>, <Text Node: ' '>, <Block Node: main. Contents: []>, <Text Node: ' <footer id="foo'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7630b91990>, <Text Node: '" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f7630b91190>, <Text Node: '" /> '>, <django.template.defaulttags.NowNode object at 0x7f7630b91710>, <Text Node: '<br> '>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '">@testesdecodigo</a> '>, <Variable Node: settings.SOCIAL_LINK_FACEBOOK>, <Text Node: '" target="_blank" rel="no'>, <Variable Node: settings.SOCIAL_LINK_TWITTER>, <Text Node: '" target="_blank" rel="no'>, <django.template.defaulttags.SpacelessNode object at 0x7f763129d4d0>, <Text Node: ' <div id="outdate'>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: main. Contents: [<Text Node: ' <div class="containe'>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <Block Node: sidebar_banner. Contents: [<Text Node: ' <div'>]>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ea90>, <Text Node: ' '>, <Block Node: sidebar. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ef90>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f763149e050> |
block | <Block Node: main. Contents: [<Text Node: ' <div class="containe'>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <Block Node: sidebar_banner. Contents: [<Text Node: ' <div'>]>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ea90>, <Text Node: ' '>, <Block Node: sidebar. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ef90>, <Text Node: ' </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
self | <Block Node: main. Contents: []> |
/home/tcg/website/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 <div class="container container-sidebar">\n <div class="row">\n <div class="col-md-8" id="page-container">\n ' |
bits | [u'\n <div class="container container-sidebar">\n <div class="row">\n <div class="col-md-8" id="page-container">\n '] |
self | [<Text Node: ' <div class="containe'>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <Block Node: sidebar_banner. Contents: [<Text Node: ' <div'>]>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ea90>, <Text Node: ' '>, <Block Node: sidebar. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ef90>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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="containe'>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <Block Node: sidebar_banner. Contents: [<Text Node: ' <div'>]>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ea90>, <Text Node: ' '>, <Block Node: sidebar. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763104ef90>, <Text Node: ' </div> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <div itemscope="" it'>, <Variable Node: blog_post.title>, <Text Node: '</h1> <span class'>, <Variable Node: blog_post.get_absolute_url_with_host>, <Text Node: '</span> <div clas'>, <Variable Node: blog_post.publish_date|date:"c">, <Text Node: '" itemprop="datePublished'>, <Variable Node: blog_post.publish_date|date:"j \d\e F \d\e Y">, <Text Node: '</time> </spa'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' <div it'>, <Block Node: blog_post_detail_content. Contents: [<Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f76312a3d10>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <mezzanine.template.RenderTagNode object at 0x7f76312a3e90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763120bcd0>, <Text Node: ' </footer'>, <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f763149e050> |
block | <Block Node: content. Contents: [<Text Node: ' <div itemscope="" it'>, <Variable Node: blog_post.title>, <Text Node: '</h1> <span class'>, <Variable Node: blog_post.get_absolute_url_with_host>, <Text Node: '</span> <div clas'>, <Variable Node: blog_post.publish_date|date:"c">, <Text Node: '" itemprop="datePublished'>, <Variable Node: blog_post.publish_date|date:"j \d\e F \d\e Y">, <Text Node: '</time> </spa'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' <div it'>, <Block Node: blog_post_detail_content. Contents: [<Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f76312a3d10>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <mezzanine.template.RenderTagNode object at 0x7f76312a3e90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763120bcd0>, <Text Node: ' </footer'>, <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
self | <Block Node: content. Contents: []> |
/home/tcg/website/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: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
bit | u'\n </footer>\n </div>\n </div>\n\n <div class="banner banner-content">\n <ins class="adsbygoogle"\n style="display:block"\n data-ad-client="ca-pub-2566784795967596"\n data-ad-slot="6752857465"\n data-ad-format="auto"></ins>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n </script>\n </div>\n\n ' |
bits | [u'\n <div itemscope="" itemtype="http://schema.org/BlogPosting">\n <h1 itemprop="name headline">', u'Carta de condu\xe7\xe3o pela Internet a partir de Janeiro', u'</h1>\n <span class="hidden" itemprop="url">', u'https://www.testesdecodigogratis.com/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'</span>\n <div class="post-details">\n <span class="post-details-date">\n <span class="fa fa-clock-o"></span> <time datetime="', u'2016-10-27T18:10:33+01:00', u'" itemprop="datePublished">', u'27 de Outubro de 2016', u'</time>\n </span>\n ', u'\n <span class="post-details-categories">\n <span class="fa fa-folder"></span> \n \n <a href="/blog/category/not%C3%ADcias/">Not\xedcias</a>\n \n </span>\n ', u'\n ', u'\n <span class="post-details-comments">\n <span class="fa fa-comments"></span> <a href="#comments">43 coment\xe1rios</a>\n </span>\n ', u'\n </div>\n\n <div class="panel panel-default panel-blog-post">\n <div class="panel-body">\n ', u'\n \n <img alt="Carta de condu\xe7\xe3o pela Internet a partir de Janeiro" itemprop="image" class="post-featured-image img-responsive" src="http://www.testesdecodigogratis.com/media/cache/3b/b2/3bb2f63d78a32e531949b6cca304b475.png">\n \n ', u'\n\n <div itemprop="articleBody">\n ', u'\n \n <p>A partir do dia 2 de Janeiro de 2017 poderá pedir a emissão ou revalidação da carta de condução através da internet. A formação continua a cargo das escolas de condução.</p>\r\n<p>Esta é uma das medidas de destaque do Simplex 2016 e apenas estará disponível, para já, para motociclos e automóveis ligeiros e implica o envio do atestado médico, sendo este necessário ser através do Serviço Nacional de Saúde. A aceitação de atestados do privado apenas estará disponível depois do dia 1 de Abril do mesmo ano.</p>\r\n<p>A nova carta de condução deixará também de fazer referência à morada do titular.</p>\r\n<p>Com este serviço esperasse reduzir o tempo para a emissão do título de condução e, por último mas não menos importante, evitar e reduzir as filas no IMT.</p>\n \n ', u'\n </div>\n\n <footer>\n ', u'', u'\n ', u'<div class="article-sharing-row"><div class="sharing-title">Partilha este artigo:</div><div class="sharing-buttons"><div class="facebook" data-url="http://bit.ly/2effCvB" data-text="Carta de condu\xe7\xe3o pela Internet a partir de Janeiro" data-title=""></div><div class="twitter" data-url="http://bit.ly/2effCvB" data-text="Carta de condu\xe7\xe3o pela Internet a partir de Janeiro" data-title=""></div><div class="googleplus" data-url="http://bit.ly/2effCvB" data-text="Carta de condu\xe7\xe3o pela Internet a partir de Janeiro" data-title=""></div></div></div>\n', u'\n </footer>\n </div>\n </div>\n\n <div class="banner banner-content">\n <ins class="adsbygoogle"\n style="display:block"\n data-ad-client="ca-pub-2566784795967596"\n data-ad-slot="6752857465"\n data-ad-format="auto"></ins>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n </script>\n </div>\n\n '] |
self | [<Text Node: ' <div itemscope="" it'>, <Variable Node: blog_post.title>, <Text Node: '</h1> <span class'>, <Variable Node: blog_post.get_absolute_url_with_host>, <Text Node: '</span> <div clas'>, <Variable Node: blog_post.publish_date|date:"c">, <Text Node: '" itemprop="datePublished'>, <Variable Node: blog_post.publish_date|date:"j \d\e F \d\e Y">, <Text Node: '</time> </spa'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' <div it'>, <Block Node: blog_post_detail_content. Contents: [<Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f76312a3d10>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <mezzanine.template.RenderTagNode object at 0x7f76312a3e90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763120bcd0>, <Text Node: ' </footer'>, <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
self | [<Text Node: ' <div itemscope="" it'>, <Variable Node: blog_post.title>, <Text Node: '</h1> <span class'>, <Variable Node: blog_post.get_absolute_url_with_host>, <Text Node: '</span> <div clas'>, <Variable Node: blog_post.publish_date|date:"c">, <Text Node: '" itemprop="datePublished'>, <Variable Node: blog_post.publish_date|date:"j \d\e F \d\e Y">, <Text Node: '</time> </spa'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' <div it'>, <Block Node: blog_post_detail_content. Contents: [<Text Node: ' '>, <mezzanine.template.ToEndTagNode object at 0x7f76312a3d10>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <mezzanine.template.RenderTagNode object at 0x7f76312a3e90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f763120bcd0>, <Text Node: ' </footer'>, <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f763149e050> |
block | <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
self | <Block Node: blog_post_detail_comments. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
/home/tcg/website/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 | <IfNode> |
bit | u'\n ' |
bits | [u'\n '] |
self | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 | <IfNode> |
self | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<mezzanine.template.InclusionTagNode object at 0x7f76312a3050>] |
condition | (literal <django.template.base.FilterExpression object at 0x7f763104efd0>) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f76312a3050> |
self | [<mezzanine.template.InclusionTagNode object at 0x7f76312a3050>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f76312a3050> |
self | [<mezzanine.template.InclusionTagNode object at 0x7f76312a3050>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/lib/python2.7/site-packages/mezzanine/template/__init__.py
in render
parts = [template.Variable(part).resolve(context)
for part in token.split_contents()[1:]]
if takes_context:
parts.insert(0, context)
result = tag_func(*parts)
autoescape = context.autoescape
context = context_class(result, autoescape=autoescape)
return self.template.render(context)...
return InclusionTagNode()
return self.tag(tag_wrapper)
return tag_decorator
Variable | Value |
---|---|
takes_context | True |
autoescape | True |
name | u'generic/includes/comments.html' |
self | <mezzanine.template.InclusionTagNode object at 0x7f76312a3050> |
request | "<WSGIRequest\npath:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.testesdecodigogratis.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.84.65.73',\n 'REMOTE_PORT': '40682',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.testesdecodigogratis.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'apollo',\n 'uwsgi.version': '2.0.11.1',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
ts | [u'generic/includes/comments.html'] |
token | <django.template.base.Token object at 0x7f7631427cd0> |
parts | [[{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], <BlogPost: Carta de condução pela Internet a partir de Janeiro>] |
t | <django.template.base.Template object at 0x7f7632299810> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
context_class | <class 'django.template.context.Context'> |
part | u'blog_post' |
tag_func | <function comments_for at 0x7f7631466c08> |
result | [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/base.py
in render
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:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7632299810> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7632299810> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f7630dcb490> |
bit | u'</legend></fieldset>\n\n ' |
bits | [u'', u'\n\n<div id="comments">\n <fieldset class="center-title"><legend>', u'Coment\xe1rios', u'</legend></fieldset>\n\n '] |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630dcb690>, <Text Node: ' <div id="comments"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630dcba90>, <Text Node: '</legend></fieldset> '>, <mezzanine.template.InclusionTagNode object at 0x7f7630dcb490>, <Text Node: ' <div class="add-com'>, <django.templatetags.i18n.TranslateNode object at 0x7f7630dcb950>, <Text Node: '</h3> '>, <django.template.loader_tags.IncludeNode object at 0x7f7630dcb290>, <Text Node: ' </div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f7630dcb490> |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630dcb690>, <Text Node: ' <div id="comments"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630dcba90>, <Text Node: '</legend></fieldset> '>, <mezzanine.template.InclusionTagNode object at 0x7f7630dcb490>, <Text Node: ' <div class="add-com'>, <django.templatetags.i18n.TranslateNode object at 0x7f7630dcb950>, <Text Node: '</h3> '>, <django.template.loader_tags.IncludeNode object at 0x7f7630dcb290>, <Text Node: ' </div> </div> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
/home/tcg/website/lib/python2.7/site-packages/mezzanine/template/__init__.py
in render
parts = [template.Variable(part).resolve(context)
for part in token.split_contents()[1:]]
if takes_context:
parts.insert(0, context)
result = tag_func(*parts)
autoescape = context.autoescape
context = context_class(result, autoescape=autoescape)
return self.template.render(context)...
return InclusionTagNode()
return self.tag(tag_wrapper)
return tag_decorator
Variable | Value |
---|---|
takes_context | True |
autoescape | True |
name | u'generic/includes/comment.html' |
self | <mezzanine.template.InclusionTagNode object at 0x7f7630dcb490> |
request | "<WSGIRequest\npath:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.testesdecodigogratis.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.84.65.73',\n 'REMOTE_PORT': '40682',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.testesdecodigogratis.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'apollo',\n 'uwsgi.version': '2.0.11.1',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
ts | [u'generic/includes/comment.html'] |
token | <django.template.base.Token object at 0x7f7630dcb3d0> |
parts | [[{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], <BlogPost: Carta de condução pela Internet a partir de Janeiro>] |
t | <django.template.base.Template object at 0x7f76313afc90> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
context_class | <class 'django.template.context.Context'> |
part | u'object_for_comments' |
tag_func | <function comment_thread at 0x7f7631466cf8> |
result | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/base.py
in render
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:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f76313afc90> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f76313afc90> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/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 | <For Node: for comment in comments_for_thread, tail_len: 7> |
bit | u'\n\n' |
bits | [u'', u'\n\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630ebe190>, <Text Node: ' '>, <For Node: for comment in comments_for_thread, tail_len: 7>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/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 | <For Node: for comment in comments_for_thread, tail_len: 7> |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630ebe190>, <Text Node: ' '>, <For Node: for comment in comments_for_thread, tail_len: 7>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
else:
context[self.loopvars[0]] = item
# In TEMPLATE_DEBUG mode provide source of the node which
# actually raised the exception
if settings.TEMPLATE_DEBUG:
for node in self.nodelist_loop:
try:
nodelist.append(node.render(context))...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
else:
for node in self.nodelist_loop:
Variable | Value |
---|---|
node | <IfNode> |
len_values | 8 |
pop_context | False |
e | IndexError('list index out of range',) |
item | <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...> |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 8, u'revcounter0': 7} |
self | <For Node: for comment in comments_for_thread, tail_len: 7> |
parentloop | {} |
i | 0 |
values | [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
nodelist | [u'\n <div id="comment-', u'11993', u'" class="comment media', u'', u'">\n '] |
unpack | False |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f7630ebec90>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710>, <Text Node: ' </div> '>] |
condition | (not (literal <django.template.base.FilterExpression object at 0x7f7630ebef50>)) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710> |
bit | u'\n </article>\n\n ' |
bits | [u'\n <div class="media-left">\n ', u'\n \n \n <img class="media-object comment-picture" alt="Diogo Ricardo" src="/media/cache/50/ce/50ce5598f4f71c9bb537fdbe3915e111.png"/>\n \n \n ', u'\n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">', u'Diogo Ricardo', u'</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="', u'2016-10-29T14:06:37+01:00', u'">', u'7\xa0anos, 4\xa0meses atr\xe1s', u'</time></div>\n\n ', u'\n \n <p class="comment-text" itemprop="commentText">j\xe1 estou a imaginar.. "Tiraste carta pela internet?!?"</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-11993">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-11993">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n ', u'\n </article>\n\n '] |
self | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f7630ebec90>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/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 | <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710> |
self | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f7630ebec90>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710>, <Text Node: ' </div> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/lib/python2.7/site-packages/mezzanine/template/__init__.py
in render
parts = [template.Variable(part).resolve(context)
for part in token.split_contents()[1:]]
if takes_context:
parts.insert(0, context)
result = tag_func(*parts)
autoescape = context.autoescape
context = context_class(result, autoescape=autoescape)
return self.template.render(context)...
return InclusionTagNode()
return self.tag(tag_wrapper)
return tag_decorator
Variable | Value |
---|---|
takes_context | True |
autoescape | True |
name | u'generic/includes/comment.html' |
self | <mezzanine.template.InclusionTagNode object at 0x7f7630e8e710> |
request | "<WSGIRequest\npath:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.testesdecodigogratis.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.84.65.73',\n 'REMOTE_PORT': '40682',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.testesdecodigogratis.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'apollo',\n 'uwsgi.version': '2.0.11.1',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
ts | [u'generic/includes/comment.html'] |
token | <django.template.base.Token object at 0x7f76311584d0> |
parts | [[{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>] |
t | <django.template.base.Template object at 0x7f7631277f10> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
context_class | <class 'django.template.context.Context'> |
part | u'comment' |
tag_func | <function comment_thread at 0x7f7631466cf8> |
result | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/base.py
in render
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:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7631277f10> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7631277f10> |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <For Node: for comment in comments_for_thread, tail_len: 7> |
bit | u'\n\n' |
bits | [u'', u'\n\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630f0d050>, <Text Node: ' '>, <For Node: for comment in comments_for_thread, tail_len: 7>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <For Node: for comment in comments_for_thread, tail_len: 7> |
self | [<django.template.defaulttags.LoadNode object at 0x7f7630f0d050>, <Text Node: ' '>, <For Node: for comment in comments_for_thread, tail_len: 7>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
else:
context[self.loopvars[0]] = item
# In TEMPLATE_DEBUG mode provide source of the node which
# actually raised the exception
if settings.TEMPLATE_DEBUG:
for node in self.nodelist_loop:
try:
nodelist.append(node.render(context))...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
else:
for node in self.nodelist_loop:
Variable | Value |
---|---|
node | <IfNode> |
len_values | 31 |
pop_context | False |
e | IndexError('list index out of range',) |
item | <ThreadedComment: Daniel Nunes: https://datebest.net - visit website and win smart...> |
loop_dict | {u'counter': 31, u'counter0': 30, u'first': False, u'last': True, u'parentloop': {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 8, u'revcounter0': 7}, u'revcounter': 1, u'revcounter0': 0} |
self | <For Node: for comment in comments_for_thread, tail_len: 7> |
parentloop | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 8, u'revcounter0': 7} |
i | 30 |
values | [<ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>, <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, <ThreadedComment: Daniel Nunes: https://datebest.net - visit website and win smart...>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
nodelist | [u'\n <div id="comment-', u'12347', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="C\xe9sar Carvalho" src="/media/cache/4c/18/4c18d8f4ec81ad6b34a1e26a943d6770.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">C\xe9sar Carvalho</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2016-12-02T01:15:37+00:00">7\xa0anos, 3\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText">O k muitos ja dizem quando se ve um masarico a condusir </p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-12347">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-12347">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'12747', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="Armando Augusto Nhanala" src="/media/cache/6f/52/6f52ee2a53f8bf45fccda2b059c27809.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Armando Augusto Nhanala</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2017-02-06T22:01:09+00:00">7\xa0anos, 1\xa0m\xeas atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText">Adiciona o teu coment\xe1rio... n\xe3o diga isso ser\xe1 encrivel<br />e ajudar\xe1 os que n\xe3o se d\xe1 tempo</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-12747">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-12747">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14862', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="alberto.er.cossa@gmail.com" src="/media/cache/41/80/4180a1d8e51451e47f6ca51f2ef4d388.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">alberto.er.cossa@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-09T20:10:10+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText">Verifpro - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14862">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14862">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14863', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="diogopilapila@gmail.com" src="/media/cache/22/09/2209d564a1888b1245d8577e01d0d8b8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">diogopilapila@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-10T09:19:16+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText">Verifpro - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14863">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14863">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14869', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="moisesmelo92@gmail.com" src="/media/cache/3f/ba/3fba6ebef1ca866a56c6257f94813d56.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">moisesmelo92@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T14:05:02+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14869">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14869">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14870', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="miguellopes600@gmail.com" src="/media/cache/b3/e4/b3e46a557d090c3021559c0b9f0bc0a9.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">miguellopes600@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T14:25:30+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14870">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14870">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14871', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="bruno97moreira@gmail.com" src="/media/cache/1f/47/1f475eef2393649149f2982cc7a9ebf1.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">bruno97moreira@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T17:03:37+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14871">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14871">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14872', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="claudiocristina3@gmail.com" src="/media/cache/4d/25/4d25a3c0abaa4538de4a83c6f86d72c8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">claudiocristina3@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T18:17:54+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14872">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14872">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14873', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="tomasribeiro355@gmail.com" src="/media/cache/bd/6d/bd6dd7ac7c694ef38385e0bc368440a2.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">tomasribeiro355@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T19:08:38+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14873">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14873">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14874', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="alberto.er.cossa@gmail.com" src="/media/cache/41/80/4180a1d8e51451e47f6ca51f2ef4d388.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">alberto.er.cossa@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T19:42:29+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14874">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14874">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14875', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="botelho12342@gmail.com" src="/media/cache/48/c9/48c97a484ddc94a30ac46fdff9d7b439.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">botelho12342@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T23:12:59+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14875">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14875">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14876', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="soraiafilipacapela@hotmail.com" src="/media/cache/c7/cc/c7ccfa46d1270a2604c41856969d55c6.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">soraiafilipacapela@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-11T23:46:04+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14876">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14876">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14877', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="claudiocristina3@gmail.com" src="/media/cache/4d/25/4d25a3c0abaa4538de4a83c6f86d72c8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">claudiocristina3@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-12T01:16:34+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14877">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14877">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14878', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="nando_miguel_gaspar@hotmail.com" src="/media/cache/b1/18/b118ccf385c80dd00d12a57cdfaac7c9.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">nando_miguel_gaspar@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-12T01:17:03+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a <a href="http://href=%22http://Verifpro.net" rel="nofollow">href="http://Verifpro.net</a>" rel="nofollow" target="_blank">/.../Verifpro.net</a> - paypal, ebay, stripe, banks, crypto, docs and more! <br />Follow channel <a href="https://t.me/Verifpro_accounts" rel="nofollow" target="_blank">t.me/.../Verifpro_accounts</a> to get more info</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14878">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14878">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14879', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="diogosantos21@live.com.pt" src="/media/cache/a2/09/a2093ef294f1942a7f8f29fa750adf03.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">diogosantos21@live.com.pt</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-13T07:22:36+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14879">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14879">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14880', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="claudiocristina3@gmail.com" src="/media/cache/4d/25/4d25a3c0abaa4538de4a83c6f86d72c8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">claudiocristina3@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-13T12:11:00+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14880">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14880">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14881', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="alberto.er.cossa@gmail.com" src="/media/cache/41/80/4180a1d8e51451e47f6ca51f2ef4d388.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">alberto.er.cossa@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-13T13:15:43+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14881">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14881">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14882', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="afonso_pacheco123@hotmail.com" src="/media/cache/87/25/8725faee08c4edf521983de38de5efd6.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">afonso_pacheco123@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-13T18:32:15+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14882">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14882">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14883', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="moisesmelo92@gmail.com" src="/media/cache/3f/ba/3fba6ebef1ca866a56c6257f94813d56.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">moisesmelo92@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-14T02:38:42+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14883">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14883">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14884', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="miguellopes600@gmail.com" src="/media/cache/b3/e4/b3e46a557d090c3021559c0b9f0bc0a9.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">miguellopes600@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-14T03:28:52+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14884">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14884">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14885', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="claudiocristina3@gmail.com" src="/media/cache/4d/25/4d25a3c0abaa4538de4a83c6f86d72c8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">claudiocristina3@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-14T22:56:23+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14885">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14885">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14886', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="alberto.er.cossa@gmail.com" src="/media/cache/41/80/4180a1d8e51451e47f6ca51f2ef4d388.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">alberto.er.cossa@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T00:07:36+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14886">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14886">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14887', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="afonso_pacheco123@hotmail.com" src="/media/cache/87/25/8725faee08c4edf521983de38de5efd6.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">afonso_pacheco123@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T00:33:41+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14887">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14887">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14888', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="moisesmelo92@gmail.com" src="/media/cache/3f/ba/3fba6ebef1ca866a56c6257f94813d56.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">moisesmelo92@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T02:11:18+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14888">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14888">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14889', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="miguellopes600@gmail.com" src="/media/cache/b3/e4/b3e46a557d090c3021559c0b9f0bc0a9.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">miguellopes600@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T02:34:57+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14889">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14889">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14890', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="soraiafilipacapela@hotmail.com" src="/media/cache/c7/cc/c7ccfa46d1270a2604c41856969d55c6.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">soraiafilipacapela@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T05:51:36+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14890">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14890">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14891', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="botelho12342@gmail.com" src="/media/cache/48/c9/48c97a484ddc94a30ac46fdff9d7b439.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">botelho12342@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T07:28:37+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14891">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14891">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14892', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="diogopilapila@gmail.com" src="/media/cache/22/09/2209d564a1888b1245d8577e01d0d8b8.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">diogopilapila@gmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T11:40:14+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14892">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14892">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14893', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="tomascaetano2004@hotmail.com" src="/media/cache/e0/19/e019017c13ebb1cbe2bd18926fb16581.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">tomascaetano2004@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T13:45:31+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14893">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14893">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14894', u'" class="comment media', u'', u'">\n ', u'\n <div class="media-left">\n \n \n \n <img class="media-object comment-picture" alt="jcarreira92@hotmail.com" src="/media/cache/e2/48/e2481678cf8f09a055a4ddaedf9ecf3e.png"/>\n \n \n \n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">jcarreira92@hotmail.com</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="2023-01-15T14:03:33+00:00">1\xa0ano, 2\xa0meses atr\xe1s</time></div>\n\n \n \n <p class="comment-text" itemprop="commentText"><a href="https://t.me/pump_upp" rel="nofollow" target="_blank">t.me/.../pump_upp</a> - best crypto pumps on telegram <br />Make 1000% and more within 1 day, join channel @pump_upp !</p>\n \n\n <div class="comment-actions">\n <a class="btn btn-xs btn-default comment-reply" href="#reply-14894">\n <span class="fa fa-reply"></span> Responder\n </a>\n <a class="btn btn-xs btn-default comment-link" href="/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/#comment-14894">\n <span class="fa fa-link"></span> Link\n </a>\n \n </div>\n\n \n\n\n <div class="comment-reply-form alert alert-info" style="display: none;">\n \n\n<div class="flatblock block-comentarios-login-necessario-para-comentar">\n \n \n <div class="content"><p>Para poderes comentar necessitas de ter uma conta no site e estar devidamente autênticado.</p></div>\n \n</div>\n\n\n <div>\n <a href="/conta/signup/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-gray btn-sm">Criar Conta Gr\xe1tis</a>\n\t\t\t<a href="/conta/login/?next=/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/" class="btn btn-primary btn-sm">Entrar</a>\n </div>\n </div>\n\n\n\n \n </article>\n\n \n\n\n\n\n\n </div>\n ', u'\n </div>\n', u'\n <div id="comment-', u'14895', u'" class="comment media', u'', u'">\n '] |
unpack | False |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f76310dfdd0>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630dec250>, <Text Node: ' </div> '>] |
condition | (not (literal <django.template.base.FilterExpression object at 0x7f7630f0d150>)) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <IfNode> |
bit | u'</time></div>\n\n ' |
bits | [u'\n <div class="media-left">\n ', u'\n \n \n <img class="media-object comment-picture" alt="nunesdaniel96@hotmail.com" src="/media/cache/09/e3/09e3a20d7fe98a6f9106c86fd4c7001c.png"/>\n \n \n ', u'\n </div>\n\n <div class="media-body">\n <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">\n <h5 class="media-heading comment-author" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">', u'nunesdaniel96@hotmail.com', u'</span></h5>\n\n <div class="comment-date"><span class="fa fa-clock-o"></span> <time itemprop="commentTime" datetime="', u'2023-01-15T22:59:31+00:00', u'">', u'1\xa0ano, 2\xa0meses atr\xe1s', u'</time></div>\n\n '] |
self | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f76310dfdd0>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630dec250>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <IfNode> |
self | [<Text Node: ' <div class="'>, <IfNode>, <Text Node: ' </div> '>, <Variable Node: comment.user_name>, <Text Node: '</span></h5> '>, <Variable Node: comment.submit_date|date:"c">, <Text Node: '">'>, <django.templatetags.i18n.BlockTranslateNode object at 0x7f76310dfdd0>, <Text Node: '</time></div> '>, <IfNode>, <Text Node: ' </articl'>, <mezzanine.template.InclusionTagNode object at 0x7f7630dec250>, <Text Node: ' </div> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54890>, <Text Node: ' '>, <Variable Node: request.path>, <Text Node: '#comment-'>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54c50>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f76297b2a10>, <Text Node: ' '>] |
condition | (literal <django.template.base.FilterExpression object at 0x7f76297b2ad0>) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <IfNode> |
bit | u'\n ' |
bits | [u'\n '] |
self | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54890>, <Text Node: ' '>, <Variable Node: request.path>, <Text Node: '#comment-'>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54c50>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f76297b2a10>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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 | <IfNode> |
self | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54890>, <Text Node: ' '>, <Variable Node: request.path>, <Text Node: '#comment-'>, <Variable Node: comment.id>, <Text Node: '"> '>, <django.templatetags.i18n.TranslateNode object at 0x7f7630e54c50>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f76297b2a10>, <Text Node: ' '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' '>, <Variable Node: comment.comment|short_urls|comment_filter>, <Text Node: '</p> '>] |
condition | None |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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: comment.comment|short_urls|comment_filter> |
bit | u'\n <p class="comment-text" itemprop="commentText">' |
bits | [u'\n <p class="comment-text" itemprop="commentText">'] |
self | [<Text Node: ' '>, <Variable Node: comment.comment|short_urls|comment_filter>, <Text Node: '</p> '>] |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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: comment.comment|short_urls|comment_filter> |
self | [<Text Node: ' '>, <Variable Node: comment.comment|short_urls|comment_filter>, <Text Node: '</p> '>] |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/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: comment.comment|short_urls|comment_filter> |
e | IndexError('list index out of range',) |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
/home/tcg/website/lib/python2.7/site-packages/django/template/base.py
in resolve
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)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
obj = mark_for_escaping(new_obj)
else:
obj = new_obj
Variable | Value |
---|---|
obj | u'https://datebest.net - visit website and win smartphone!' |
context | [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, [{'False': False, 'None': None, 'True': True}, {u'blog_post': <BlogPost: Carta de condução pela Internet a partir de Janeiro>, u'editable_obj': <BlogPost: Carta de condução pela Internet a partir de Janeiro>}, {'WS4REDIS_HEARTBEAT': 'null', u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7631560f10>, u'settings': {u'GOOGLE_ANALYTICS_ID': 'UA-17387647-1', u'LOGIN_URL': u'/conta/login/', u'ADMIN_MENU_COLLAPSED': False, u'DEV_SERVER': False, u'LOGOUT_URL': '/accounts/logout/', u'COMMENTS_NUM_LATEST': 5, 'GOOGLE_MAPS_APIKEY': b'AIzaSyCyJRfieOTdKl7yCLGUfTG4fdrScUzuqiA', 'SOCIAL_LINK_FACEBOOK': b'https://facebook.com/TestesDeCodigo/', u'COMMENTS_USE_RATINGS': True, u'SITE_TAGLINE': 'Tirar a carta nunca foi t\xe3o f\xe1cil', 'SOCIAL_LINK_TWITTER': b'https://twitter.com/TestesDeCodigo/', u'USE_MODELTRANSLATION': False, u'BITLY_ACCESS_TOKEN': '3ac3b7ee18f02cee6cb1d60c200bc7581c83dae3', u'GRAPPELLI_INSTALLED': True, u'BLOG_USE_FEATURED_IMAGE': True, u'PAGES_MENU_SHOW_ALL': {u'PAGES_MENU_SHOW_ALL': True}, u'JQUERY_FILENAME': u'jquery-1.7.1.min.js', u'JQUERY_UI_FILENAME': u'jquery-ui-1.9.1.custom.min.js', u'SITE_TITLE': 'Testes de C\xf3digo Gr\xe1tis', u'USE_L10N': False, u'COMMENTS_DISQUS_API_PUBLIC_KEY': '', u'COMMENTS_DISQUS_API_SECRET_KEY': '', u'FORMS_USE_HTML5': False, u'ACCOUNTS_VERIFICATION_REQUIRED': u'', 'SOCIAL_LINK_GOOGLEPLUS': b'https://plus.google.com/+Testesdecodigogratiscom/', u'COMMENTS_DISQUS_SHORTNAME': '', u'ACCOUNTS_APPROVAL_REQUIRED': u'', u'MEZZANINE_ADMIN_PREFIX': u'grappelli/'}, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7631560e10>, u'request': <WSGIRequest path:/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.testesdecodigogratis.com', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.84.65.73', 'REMOTE_PORT': '40682', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.testesdecodigogratis.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'apollo', 'uwsgi.version': '2.0.11.1', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f763185d1b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>, 'WEBSOCKET_URI': u'wss://www.testesdecodigogratis.com/ws/', 'messages': <django.contrib.messages.storage.cookie.CookieStorage object at 0x7f7630a21b50>, u'TIME_ZONE': 'Europe/Lisbon', u'STATIC_URL': u'/static/', u'LANGUAGES': ((u'pt', u'Portuguese'),), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f7630a21e90>>, u'LANGUAGE_CODE': u'pt', 'BUILD_VERSION': '08647f6', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': u'/media/'}], {u'replied_to': 0, u'no_comments': False, u'comments_for_thread': [<ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>, <ThreadedComment: claudiana fernandes da silva silva: kkk esta e de mais viukkkk ...>, <ThreadedComment: filipe cardoso nogueira: as cartas tiradas pela net vai ser ha campeao...>, <ThreadedComment: Helena Costa: Será só para renovar ou emitir e não para tirare a...>, <ThreadedComment: rui carlos: é apenas para renovação, ajudará muito os que não ...>, <ThreadedComment: Carlos Jorge Sousa Moreira: ola entao es posibel sacar a distancia desde Españ...>, <ThreadedComment: Nuno Gonçalo: Sera verdade se eu passar do teste ...>, <ThreadedComment: Dulce Ferreira: Alguém sabe me dizer se o exame de código é idênti...>]}], {u'forloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'comment': <ThreadedComment: Diogo Ricardo: já estou a imaginar.. "Tiraste carta pela internet...>}], {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 31, u'parentloop': {u'revcounter0': 7, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 8, u'counter0': 0, u'first': True}, u'revcounter': 1, u'counter0': 30, u'first': False}, u'comment': <ThreadedComment: César Carvalho: O k muitos ja dizem quando se ve um masarico a con...>}, {u'comment': <ThreadedComment: Armando Augusto Nhanala: Adiciona o teu comentário... não diga isso será en...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: Verifpro - paypal, ebay, stripe, banks, crypto, do...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Bruno Moreira: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomás Ribeiro: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguelito Gaspar: Verifpro.net - paypal, ebay, stripe, banks, crypto...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Santos: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Claudio Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Alberto Galileu: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Afonso Pacheco: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Moises Melo: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Miguel Lopes: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Soraia Capela: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Gonçalo Botelho: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Diogo Silva: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Tomas Caetano: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}, {u'comment': <ThreadedComment: Mário Carreiro: https://t.me/pump_upp - best crypto pumps on teleg...>, u'replied_to': 0, u'no_comments': False, u'comments_for_thread': []}] |
arg_vals | [] |
self | <django.template.base.FilterExpression object at 0x7f76297b2790> |
args | [] |
ignore_failures | False |
func | <function short_urls at 0x7f763142e500> |
/home/tcg/website/tcg/main/templatetags/short_urls.py
in short_urls
elif autoescape:
words[i] = escape(word)
return ''.join(words)
@register.filter
def short_urls(text):
return mark_safe(urlize(text, True, True))...
Variable | Value |
---|---|
text | u'https://datebest.net - visit website and win smartphone!' |
/home/tcg/website/tcg/main/templatetags/short_urls.py
in urlize
except UnicodeError:
continue
url = 'mailto:%s@%s' % (local, domain)
nofollow_attr = ''
# Make link.
if url:
trimmed = trim_url(middle)...
if autoescape and not safe_input:
lead, trail = escape(lead), escape(trail)
url, trimmed = escape(url), escape(trimmed)
middle = '<a href="%s"%s%s>%s</a>' % (
url,
nofollow_attr,
Variable | Value |
---|---|
autoescape | False |
word | u'https://datebest.net' |
words | [u'https://datebest.net', u' ', u'-', u' ', u'visit', u' ', u'website', u' ', u'and', u' ', u'win', u' ', u'smartphone!'] |
lead | '' |
opening | u"'" |
i | 0 |
text | u'https://datebest.net - visit website and win smartphone!' |
punctuation | u"'" |
nofollow_attr | ' rel="nofollow"' |
nofollow | True |
middle | u'https://datebest.net' |
url | u'https://datebest.net' |
new_window | True |
safe_input | False |
blank_attr | ' target="_blank"' |
closing | u"'" |
trail | '' |
trim_url | <function trim_url at 0x7f76310289b0> |
/home/tcg/website/tcg/main/templatetags/short_urls.py
in trim_url
filename = basename(url_obj.path)
path = dirname(url_obj.path)
if filename:
short_path = filename
else:
short_path = path.rsplit('/', 1)[1]...
return '%s/.../%s' % (domain_string, short_path)
safe_input = isinstance(text, SafeData)
words = word_split_re.split(force_text(text))
for i, word in enumerate(words):
Variable | Value |
---|---|
path | u'' |
url_obj | ParseResult(scheme=u'https', netloc=u'datebest.net', path=u'', params='', query='', fragment='') |
filename | u'' |
x | u'https://datebest.net' |
domain_string | u'datebest.net' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.testesdecodigogratis.com' |
REMOTE_ADDR | '54.84.65.73' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'apollo' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7f763185d1b0> |
HTTP_HOST | 'www.testesdecodigogratis.com' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/blog/carta-de-conducao-pela-internet-a-partir-de-janeiro/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f7632a189c0> |
REMOTE_PORT | '40682' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.11.1' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'8Pmqo8hWUDTOZH3lnuURdz3IAscMtaTY' |
tcg.settings
Setting | Value |
---|---|
TESTING | False |
DEBUG_TOOLBAR_PANELS | [u'debug_toolbar.panels.versions.VersionsPanel', u'debug_toolbar.panels.timer.TimerPanel', u'debug_toolbar.panels.settings.SettingsPanel', u'debug_toolbar.panels.headers.HeadersPanel', u'debug_toolbar.panels.request.RequestPanel', u'debug_toolbar.panels.sql.SQLPanel', u'debug_toolbar.panels.staticfiles.StaticFilesPanel', u'debug_toolbar.panels.templates.TemplatesPanel', u'debug_toolbar.panels.cache.CachePanel', u'debug_toolbar.panels.signals.SignalsPanel', u'debug_toolbar.panels.logging.LoggingPanel', u'debug_toolbar.panels.redirects.RedirectsPanel', u'template_timings_panel.panels.TemplateTimings.TemplateTimings', u'template_profiler_panel.panels.template.TemplateProfilerPanel'] |
SERVER_EMAIL | 'root@localhost' |
ACCOUNT_USER_DISPLAY | <function <lambda> at 0x7f7635918578> |
DEV_SERVER | False |
TIME_ZONE | u'Europe/Lisbon' |
ACCOUNT_AUTHENTICATION_METHOD | u'email' |
CSRF_COOKIE_SECURE | True |
SENDGRID_SANDBOX_MODE_IN_DEBUG | False |
LANGUAGE_CODE | u'pt' |
ROOT_URLCONF | u'tcg.urls' |
MANAGERS | () |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
ACCOUNT_EMAIL_REQUIRED | True |
USE_THOUSAND_SEPARATOR | False |
STATICSITEMAPS_ROOT_DIR | u'/home/tcg/website/tcg/static' |
ALLOWED_HOSTS | [u'.testesdecodigogratis.com'] |
MESSAGE_STORAGE | u'django.contrib.messages.storage.cookie.CookieStorage' |
WEBSOCKET_URL | u'/ws/' |
EMAIL_SUBJECT_PREFIX | u'' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | (u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
DASHBOARD_TAGS | ((u'mezzanine_tags.app_list', u'mezzanine_tags.recent_actions'), (u'comment_tags.recent_comments', u'testemunhos_tags.testemunhos_recentes')) |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
PACKAGE_NAME_GRAPPELLI | u'grappelli_safe' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
ACCOUNT_CONFIRM_EMAIL_ON_GET | True |
DATABASES | {u'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, u'ENGINE': u'django.db.backends.mysql', u'HOST': u'127.0.0.1', u'NAME': u'tcg', 'OPTIONS': {}, u'PASSWORD': u'********************', u'PORT': u'3306', 'TEST': {'CHARSET': None, u'COLLATION': u'utf8_general_ci', 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', u'USER': u'tcg'}} |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
SLUGIFY | u'lib.utils.unicode_slugify' |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | (u'django.contrib.auth.context_processors.auth', u'django.contrib.messages.context_processors.messages', u'django.core.context_processors.debug', u'django.core.context_processors.i18n', u'django.core.context_processors.static', u'django.core.context_processors.media', u'django.core.context_processors.request', u'django.core.context_processors.tz', u'mezzanine.conf.context_processors.settings', u'mezzanine.pages.context_processors.page', u'ws4redis.context_processors.default', u'main.context_processors.project_context') |
DEFAULT_CONTENT_TYPE | 'text/html' |
SOCIALACCOUNT_PROVIDERS | {u'facebook': {u'LOCALE_FUNC': <function <lambda> at 0x7f76359185f0>, u'METHOD': u'oauth2', u'SCOPE': [u'email', u'user_location'], u'VERIFIED_EMAIL': True, u'VERSION': u'v2.2'}} |
RAYGUN_API_ENABLED | u'********************' |
ACCOUNT_EMAIL_VERIFICATION | u'mandatory' |
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 | {u'default': {u'BACKEND': u'django.core.cache.backends.dummy.DummyCache'}} |
SU_REDIRECT_LOGIN | u'/conta/testes/' |
RAYGUN_REPORT_ON_EXCEPTHOOK | True |
SESSION_COOKIE_PATH | '/' |
ACCOUNT_ADAPTER | u'utilizadores.adapter.AccountAdapter' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | (u'django.middleware.common.BrokenLinkEmailsMiddleware', u'htmlmin.middleware.HtmlMinifyMiddleware', u'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.locale.LocaleMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'mezzanine.core.request.CurrentRequestMiddleware', u'mezzanine.core.middleware.RedirectFallbackMiddleware', u'mezzanine.core.middleware.TemplateForDeviceMiddleware', u'mezzanine.core.middleware.TemplateForHostMiddleware', u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', u'mezzanine.core.middleware.SitePermissionMiddleware', u'mezzanine.pages.middleware.PageMiddleware', u'htmlmin.middleware.MarkRequestMiddleware', u'utilizadores.middleware.SetLastVisitMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
ACCOUNT_SIGNUP_FORM_CLASS | u'utilizadores.forms.SignupForm' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | (u'django.template.loaders.filesystem.Loader', u'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
KEEP_COMMENTS_ON_MINIFYING | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | True |
PROJECT_DIRNAME | 'tcg' |
USE_SOUTH | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
COMMENTS_APP | u'mezzanine.generic' |
INTERNAL_IPS | (u'127.0.0.1',) |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | (u'mezzanine.boot', u'django.contrib.auth', u'django.contrib.contenttypes', u'django.contrib.redirects', u'django.contrib.sessions', u'django.contrib.sites', u'django.contrib.sitemaps', u'django.contrib.humanize', u'rest_framework', u'rest_framework.authtoken', u'ajax_select', u'main', u'testemunhos', u'testes', u'escolas', u'material_estudo', u'api', u'theme', u'mezzanine_blocks', u'sorl.thumbnail', u'django_extensions', u'mptt', u'django_su', u'static_sitemaps', u'adminsortable2', u'ws4redis', u'allauth', u'allauth.account', u'allauth.socialaccount', u'allauth.socialaccount.providers.facebook', u'utilizadores', u'mezzanine.conf', u'mezzanine.core', u'mezzanine.generic', u'mezzanine.blog', u'mezzanine.forms', u'mezzanine.pages', u'filebrowser_safe', u'grappelli_safe', u'django.contrib.admin', u'django.contrib.staticfiles', u'django_comments') |
LANGUAGES | ((u'pt', u'Portuguese'),) |
USE_L10N | False |
COMMENTS_ALLOW_PROFANITIES | False |
STATIC_ROOT | u'/home/tcg/website/tcg/static' |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
LANGUAGE_COOKIE_AGE | None |
RAYGUN_API_KEY | u'********************' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DISPOSABLE_EMAIL_DOMAINS | u'/home/tcg/website/tcg/disposable-email-domains.txt' |
MEDIA_URL | u'/media/' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | u'/conta/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
BUILD_VERSION | '08647f6' |
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 | (u'mezzanine.core.auth_backends.MezzanineBackend', u'allauth.account.auth_backends.AuthenticationBackend', u'django_su.backends.SuBackend') |
EMAIL_HOST_PASSWORD | u'********************' |
PACKAGE_NAME_FILEBROWSER | u'filebrowser_safe' |
AUTH_PROFILE_MODULE | u'utilizadores.UserProfile' |
LANGUAGE_COOKIE_DOMAIN | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SOCIALACCOUNT_EMAIL_REQUIRED | True |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
GRAPPELLI_INSTALLED | True |
ABSOLUTE_URL_OVERRIDES | {} |
PROJECT_ROOT | '/home/tcg/website/tcg' |
ACCOUNT_LOGOUT_ON_GET | True |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
ACCOUNT_FORMS | {u'login': u'utilizadores.forms.CustomLoginForm'} |
LOCALE_PATHS | [u'/home/tcg/website/tcg/locale'] |
TEMPLATE_STRING_IF_INVALID | '' |
SOCIALACCOUNT_QUERY_EMAIL | True |
SESSION_FILE_PATH | None |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
LOGIN_REDIRECT_URL | u'/conta/testes/' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
SOCIALACCOUNT_AUTO_SIGNUP | False |
OPTIONAL_APPS | (u'django_extensions', u'filebrowser_safe', u'grappelli_safe') |
MEDIA_ROOT | u'/home/tcg/website/tcg/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | u'Testes de C\xf3digo Gr\xe1tis <geral@testesdecodigogratis.com>' |
REST_FRAMEWORK | {u'DEFAULT_AUTHENTICATION_CLASSES': (u'rest_framework.authentication.BasicAuthentication', u'rest_framework.authentication.SessionAuthentication', u'rest_framework.authentication.TokenAuthentication'), u'DEFAULT_PAGINATION_CLASS': u'rest_framework.pagination.PageNumberPagination', u'PAGE_SIZE': 20} |
EXCLUDE_FROM_MINIFYING | (u'^rating/', u'^gerir/', u'^admin_keywords_submit/', u'^add/', u'^adminsortable2_update/', u'^ajax_select/') |
STATICSITEMAPS_ROOT_SITEMAP | u'main.sitemaps.sitemaps' |
HTML_MINIFY | True |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | (u'/home/tcg/website/tcg/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
SENDGRID_API_KEY | u'********************' |
EMAIL_PORT | 25 |
WS4REDIS_CONNECTION | {u'host': u'localhost'} |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | True |
THUMBNAIL_FORMAT | u'PNG' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | u'sendgrid_backend.SendgridBackend' |
BLOG_USE_FEATURED_IMAGE | True |
EMAIL_USE_SSL | False |
SESSION_COOKIE_HTTPONLY | True |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | u'tcg.settings' |
NEVERCACHE_KEY | u'********************' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
DEFAULT_INDEX_TABLESPACE | '' |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | u'/static/' |
ACCOUNT_USERNAME_REQUIRED | False |
ADMIN_MENU_ORDER | ((u'Content', ((u'Blog', u'blog.BlogPost'), (u'Escolas', u'escolas.Escola'), (u'Mensagens para Escolas', u'escolas.Mensagem'), (u'Testemunhos', u'testemunhos.Testemunho'), (u'Material de Estudo', u'material_estudo.MaterialEstudo'), (u'Coment\xe1rios', u'generic.ThreadedComment'), (u'P\xe1ginas', u'pages.Page'))), (u'Outro Conte\xfado', (u'mezzanine_blocks.Block', u'mezzanine_blocks.RichBlock', u'mezzanine_blocks.ImageBlock', u'blog.BlogCategory', (u'Categorias Material de Estudo', u'material_estudo.Categoria'), (u'Media Library', u'fb_browse'), u'main.Concelho')), (u'Settings', (u'sites.Site', u'redirects.Redirect', u'conf.Setting')), (u'Users', (u'auth.User', u'auth.Group', u'utilizadores.UserProfile', u'account.EmailConfirmation', u'account.EmailAddress', u'socialaccount.SocialApp', u'socialaccount.SocialToken', u'socialaccount.SocialAccount'))) |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
FABRIC | {u'ADMIN_PASS': u'********************', u'DB_PASS': u'********************', u'DOMAINS': [u'.testesdecodigogratis.com'], u'GUNICORN_PORT': 8000, u'HOSTS': [u'.testesdecodigogratis.com'], u'LOCALE': u'pt_PT.UTF-8', u'NEVERCACHE_KEY': u'********************', u'PROJECT_NAME': u'tcg', u'REPO_URL': u'ssh://bitbucket.org:jrfernandes/tcg.git', u'REQUIREMENTS_PATH': u'requirements.txt', u'SECRET_KEY': u'********************', u'SSH_KEY_PATH': u'********************', u'SSH_USER': u'tcg', u'VIRTUALENV_HOME': u'/home/tcg/website'} |
STATICSITEMAPS_URL | u'https://www.testesdecodigogratis.com/static/' |
LANGUAGE_COOKIE_PATH | '/' |
WS4REDIS_ALLOWED_CHANNELS | u'escolas.views.get_allowed_channels' |
CACHE_MIDDLEWARE_SECONDS | 600 |
ACCOUNT_SIGNUP_PASSWORD_VERIFICATION | u'********************' |
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') |
APP_VERSION | u'2.1.0' |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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 500 page.