'NoneType' object has no attribute 'GET'
Request Method: | GET |
---|---|
Request URL: | https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/ |
Django Version: | 1.6.5 |
Exception Type: | AttributeError |
Exception Value: | 'NoneType' object has no attribute 'GET' |
Exception Location: | /home/tomek/.local/lib/python2.7/site-packages/gallery/models.py in render, line 113 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.17 |
Python Path: | ['/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/', '.', '', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/tomek/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] |
Server time: | Czw, 28 Marz 2024 10:21:47 +0100 |
In template /mnt/disk/www/latarnicy.pl/miasta-w-internecie/cities_portal/templates/blog/article.html
, error at line 88
78 | <img src="{{ article.main_image.url }}" class="main_image" width="{{ article.main_image.width }}" height="{{ article.main_image.height }}"/> |
---|---|
79 | {% else %} |
80 | {% thumbnail article.main_image "715" crop="center" as image %} |
81 | <img src="{{ article.main_image.url }}" class="main_image" width="{{ image.width }}" height="{{ image.height }}"/> |
82 | {% endthumbnail %} |
83 | {% endif %} |
84 | {% endif %} |
85 | |
86 | <div class="article-main-content"> |
87 | {% for object in article.content.main %} |
88 | {{ object.render }} |
89 | {% endfor %} |
90 | |
91 | {% if has_gallery %} |
92 | <div class="gallery-wrapper"> |
93 | <h5>Galeria </h5> |
94 | <ul class="gallery"> |
95 | {% for image in images_list %} |
96 | <li> |
97 | {% thumbnail image.easy_thumbnails_thumbnailer "225x170" crop="center" as im %} |
98 | <a href="{{ image.url }}" data-lightbox="roadtrip"> |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
raise ValueError("The view %s.%s didn't return an HttpResponse object." % (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 ArticleView at 0x7f48099438d0>, args=(), kwargs={'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym'}, url_name='show_article', app_name='None', namespace='blog') |
middleware_method | <bound method DevServerMiddleware.process_view of <devserver.middleware.DevServerMiddleware object at 0x7f480c10a8d0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f48248b6590> |
request | "<WSGIRequest\npath:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'latarnicy.pl',\n 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '52.91.0.68',\n 'REMOTE_PORT': '52112',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'latarnicy.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'vps711161',\n 'uwsgi.version': '2.0.15-debian',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function ArticleView at 0x7f48099438d0> |
wrapped_callback | <function ArticleView at 0x7f48099438d0> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
callback_kwargs | {'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym'} |
response | <django.template.response.TemplateResponse object at 0x7f4801a5b250> |
urlconf | 'urls' |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 0x7f4801a5b250> |
retval | <django.template.response.TemplateResponse object at 0x7f4801a5b250> |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 0x7f4801a5b250> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
template | <django.template.base.Template object at 0x7f4801a668d0> |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4801a668d0> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 0x7f4801a668d0> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
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 | AttributeError("'NoneType' object has no attribute 'GET'",) |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f4800ab6fd0> |
blocks | {u'body_content': <Block Node: body_content. Contents: [<Text Node: ' '>]>, u'extra_css': <Block Node: extra_css. Contents: [<Text Node: ' '>]>, u'extra_js': <Block Node: extra_js. Contents: [<Text Node: ' '>]>, u'responsive_menu': <Block Node: responsive_menu. Contents: [<Text Node: ' '>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f480164fd90> |
n | <Block Node: extra_js. Contents: [<Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
compiled_parent | <django.template.base.Template object at 0x7f4800ab6490> |
self | <ExtendsNode: extends "base.html"> |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 0x7f4800ab6490> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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: body_content. Contents: [<Text Node: ' '>]> |
bit | u'img/ico-search.svg" alt="Szukaj">\n </button>\n </span>\n </form>\n </div>\n </div>\n -->\n </div> <!-- /.additional-nav -->\n </div> <!-- /.container -->\n</div> <!-- /.navbar-fixed-top -->\n\n<main class="container">\n <div style="background-color: #ed1c24; padding: 20px; text-align: center;display: block;width:100%;float:left;position: relative;margin-bottom: 45px;"><h1 style="margin: 0;padding:0;line-height: 120%;color: #FFFFFF;font-weight:600;">Projekt zosta\u0142 zako\u0144czony, zapraszamy na <a style="color: #FFFFFF;text-decoration: underline;" href="https://latarnicy2020.pl" target="_blank">Latarnicy2020.pl</a></h1></div>\n' |
bits | [u'', u'\n\n<!DOCTYPE html>\n<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->\n<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->\n<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->\n<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->\n<head>\n <link href=\'https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700&subset=latin,latin-ext\' rel=\'stylesheet\' type=\'text/css\'>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title></title>\n <meta name="description" content="">\n <link rel=\'SHORTCUT ICON\' href=\'', u'/static/', u'img/ico-favicon.png\' type=\'image/x-icon\' />\n <link rel="stylesheet" href="', u'/static/', u'css/vendor/lightbox.css">\n <link rel="stylesheet" href="', u'/static/', u'css/styles.css">\n <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>\n ', u'\n ', u'\n <!--[if lt IE 9]>\n <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>\n <script>window.html5 || document.write(\'<script src="js/vendor/html5shiv.js"><\\/script>\')</script>\n <![endif]-->\n</head>\n\n<body>\n<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">\n <div class="container">\n <a class="navbar-brand" href="', u'/', u'"><img src="', u'/static/', u'img/img-logo.svg" alt="Latarnicy"></a>\n\n ', u'\n ', u'\n\n <nav class="main-nav ">\n ', u'', u'\n ', u'', u'\n ', u'', u'\n ', u'', u'\n <a href=', u'/blog/', u' ', u'', u'>\n Wydarzenia\n </a>\n <a href=', u'/calendar/events-reports/', u' ', u'', u'>\n Relacje z zaj\u0119\u0107 latarnik\xf3w\n </a>\n <a href="https://www.youtube.com/channel/UCA2IwzYL8aUwbcmgCl3AXsw">\n Latarnicy TV\n </a>\n <a href=', u'/knowledge-base/', u' ', u'', u'>\n Baza wiedzy\n </a>\n <a class="last-anchor ', u'', u'" href=', u'/common/fifty-plus/', u' >\n Jestem 50+\n </a>\n </nav> <!-- /.main-nav -->\n <div class="additional-nav">\n <div class="btn-group">\n <button class="btn-menu dropdown-toggle" data-toggle="dropdown">\n <img src="', u'/static/', u'img/ico-menu.svg" alt="poka\u017c menu">\n </button>\n <ul class="dropdown-menu" role="menu">\n <li>\n <a href="', u'/static_content/about-pcrs/', u'">\n O projekcie PCRS\n </a>\n </li>\n <li>\n <a href="', u'/common/media/', u'">\n Media\n </a>\n </li>\n <li>\n <a href="', u'/static_content/pcrs-team/', u'">\n Zesp\xf3\u0142\n </a>\n </li>\n <!-- ', u'\n <li class="divider"></li>\n <li class="login">\n <a href="/profiles/login/">\n <img src="/static/img/ico-user-small.svg" alt="Zaloguj si\u0119"> Zaloguj si\u0119\n </a>\n </li>\n <li class="login">\n <a href="/profiles/register/">\n <img src="/static/img/ico-user-small.svg" alt="Zarejestruj si\u0119"> Zarejestruj si\u0119\n </a>\n </li>\n ', u' -->\n </ul>\n </div>\n ', u'', u'\n <!-- search component\n <div class="btn-group">\n <button class="btn-search dropdown-toggle" data-toggle="dropdown">\n <img class="ico-search" src="', u'/static/', u'img/ico-search.svg" alt="Wyszukiwarka">\n <img class="ico-close-search" src="', u'/static/', u'img/ico-close-search.svg" alt="Wyszukiwarka">\n </button>\n <div class="dropdown-menu" role="search">\n <form class="input-group" method="post" action="#">\n <input type="text" name="search"\n placeholder="Szukaj Latarnika, tematu, relacji, miejscowo\u015bci...">\n <span class="input-group-btn">\n <button class="btn btn-default" type="submit">\n <img src="', u'/static/', u'img/ico-search.svg" alt="Szukaj">\n </button>\n </span>\n </form>\n </div>\n </div>\n -->\n </div> <!-- /.additional-nav -->\n </div> <!-- /.container -->\n</div> <!-- /.navbar-fixed-top -->\n\n<main class="container">\n <div style="background-color: #ed1c24; padding: 20px; text-align: center;display: block;width:100%;float:left;position: relative;margin-bottom: 45px;"><h1 style="margin: 0;padding:0;line-height: 120%;color: #FFFFFF;font-weight:600;">Projekt zosta\u0142 zako\u0144czony, zapraszamy na <a style="color: #FFFFFF;text-decoration: underline;" href="https://latarnicy2020.pl" target="_blank">Latarnicy2020.pl</a></h1></div>\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f4800ab6fd0>, <Text Node: ' <!DOCTYPE html> <!--[if'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-favicon.png' type'>, <Variable Node: STATIC_URL>, <Text Node: 'css/vendor/lightbox.css">'>, <Variable Node: STATIC_URL>, <Text Node: 'css/styles.css"> <scr'>, <Block Node: extra_css. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--[if lt IE 9]> '>, <django.template.defaulttags.URLNode object at 0x7f4800ac0210>, <Text Node: '"><img src="'>, <Variable Node: STATIC_URL>, <Text Node: 'img/img-logo.svg" alt="La'>, <Block Node: responsive_menu. Contents: [<Text Node: ' '>]>, <Text Node: ' <nav class="mai'>, <django.template.defaulttags.URLNode object at 0x7f4800ac0690>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac0d50>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac01d0>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac05d0>, <Text Node: ' <a href='>, <Variable Node: blog_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Wydarze'>, <Variable Node: calendar_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Relacje'>, <Variable Node: knowledge_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Baza wi'>, <IfNode>, <Text Node: '" href='>, <Variable Node: common_url>, <Text Node: ' > Jestem'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-menu.svg" alt="po'>, <django.template.defaulttags.URLNode object at 0x7f4800ad5550>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4800ad56d0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4800ad5690>, <Text Node: '"> '>, <IfNode>, <Text Node: ' --> </ul'>, <IfNode>, <Text Node: ' <!-- search '>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-search.svg" alt="'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-close-search.svg"'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-search.svg" alt="'>, <Block Node: body_content. Contents: [<Text Node: ' '>]>, <Text Node: ' </main> <!-- /main '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4800ab6990>, <Text Node: ' <script type="text/java'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery-1.11.0.m'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/bootstrap.min.j'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery.cookie.m'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery.customSe'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/lightbox.min.js'>, <Variable Node: STATIC_URL>, <Text Node: 'js/main.js"></script> '>, <Block Node: extra_js. Contents: [<Text Node: ' '>]>, <Text Node: ' <!-- Google Analytics: '>] |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
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: body_content. Contents: [<Text Node: ' '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f4800ab6fd0>, <Text Node: ' <!DOCTYPE html> <!--[if'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-favicon.png' type'>, <Variable Node: STATIC_URL>, <Text Node: 'css/vendor/lightbox.css">'>, <Variable Node: STATIC_URL>, <Text Node: 'css/styles.css"> <scr'>, <Block Node: extra_css. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--[if lt IE 9]> '>, <django.template.defaulttags.URLNode object at 0x7f4800ac0210>, <Text Node: '"><img src="'>, <Variable Node: STATIC_URL>, <Text Node: 'img/img-logo.svg" alt="La'>, <Block Node: responsive_menu. Contents: [<Text Node: ' '>]>, <Text Node: ' <nav class="mai'>, <django.template.defaulttags.URLNode object at 0x7f4800ac0690>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac0d50>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac01d0>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f4800ac05d0>, <Text Node: ' <a href='>, <Variable Node: blog_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Wydarze'>, <Variable Node: calendar_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Relacje'>, <Variable Node: knowledge_url>, <Text Node: ' '>, <IfNode>, <Text Node: '> Baza wi'>, <IfNode>, <Text Node: '" href='>, <Variable Node: common_url>, <Text Node: ' > Jestem'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-menu.svg" alt="po'>, <django.template.defaulttags.URLNode object at 0x7f4800ad5550>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4800ad56d0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4800ad5690>, <Text Node: '"> '>, <IfNode>, <Text Node: ' --> </ul'>, <IfNode>, <Text Node: ' <!-- search '>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-search.svg" alt="'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-close-search.svg"'>, <Variable Node: STATIC_URL>, <Text Node: 'img/ico-search.svg" alt="'>, <Block Node: body_content. Contents: [<Text Node: ' '>]>, <Text Node: ' </main> <!-- /main '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4800ab6990>, <Text Node: ' <script type="text/java'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery-1.11.0.m'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/bootstrap.min.j'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery.cookie.m'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/jquery.customSe'>, <Variable Node: STATIC_URL>, <Text Node: 'js/vendor/lightbox.min.js'>, <Variable Node: STATIC_URL>, <Text Node: 'js/main.js"></script> '>, <Block Node: extra_js. Contents: [<Text Node: ' '>]>, <Text Node: ' <!-- Google Analytics: '>] |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 = BlockNode(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)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f480164fd90> |
block | <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
self | <Block Node: body_content. Contents: [<Text Node: ' '>]> |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 object in article.content.main, tail_len: 3> |
bit | u'\n\n <div class="article-main-content">\n ' |
bits | [u'\n<article class="event">\n <header>\n <time>', u'31.12.2015', u'</time>\n <h3>\n ', u'Diagnostyka szko\u0142y cyfrowej na Stadionie Narodowym', u'\n </h3>\n </header>\n\n ', u'\n\n\n<div class="functions-wrapper">\n \n <span class="like">\n <span class="like-box"></span>\n\n </span>\n <div class="font-size-wrapper">\n <button id = "fontsize-big" class="font-large">A</button>\n <button id = "fontsize-default" class="font-medium">A</button>\n <button id = "fontsize-little" class="font-small">A</button>\n </div>\n\n <div class="social-wrapper">\n <a class="social-fb" href="http://www.facebook.com/sharer.php?u=https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/">\n <span class="fb-counter">\n 1\n </span>\n </a>\n <a class="social-twitter" href="http://twitter.com/home?status=Czytam: Diagnostyka szko\u0142y cyfrowej na Stadionie Narodowym%2Bhttps://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/" data-url="https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/">twitter</a>\n <a class="social-google" href="https://plus.google.com/share?url=https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/">google+</a>\n </div>\n</div> <!--/.functions-wrapper -->\n', u'\n\n\n ', u'\n \n \n <img src="/media/main_image/DSC_0614.jpg" class="main_image" width="715" height="474"/>\n \n \n ', u'\n\n <div class="article-main-content">\n '] |
self | [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
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 object in article.content.main, tail_len: 3> |
self | [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>] |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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 | <Variable Node: object.render> |
len_values | 2 |
pop_context | False |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
item | <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1> |
loop_dict | {u'counter': 2, u'counter0': 1, u'first': False, u'last': True, u'parentloop': {}, u'revcounter': 1, u'revcounter0': 0} |
self | <For Node: for object in article.content.main, tail_len: 3> |
parentloop | {} |
i | 1 |
values | [<RichTextContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 0>, <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>] |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
nodelist | [u'\n ', u'<p style="text-align: justify;">Okres mi\u0119dzy \u015awi\u0119tami Bo\u017cego Narodzenia a Nowym rokiem nie by\u0142 czasem odpoczynku dla Latarnik\xf3w i przedstawicieli programu Polska Cyfrowa R\xf3wnych Szans. 29 grudnia grupa 30 wybranych Latarnik\xf3w spotka\u0142a si\u0119 na Stadionie Narodowym w Warszawie na warsztatach<strong> Diagnostyka Cyfrowej Szko\u0142y.</strong></p>\r\n<p style="text-align: justify;">G\u0142\xf3wnym tematem prac warsztatowych by\u0142a analiza i zapoznanie si\u0119 z narz\u0119dziami s\u0142u\u017c\u0105cymi przygotowaniu diagnozy potrzeb plac\xf3wek o\u015bwiatowych w zakresie zapotrzebowania na cyfrowe narz\u0119dzia wspieraj\u0105ce procesy dydaktyczne.</p>\r\n<p style="text-align: justify;">Uczestnicy warsztat\xf3w, zorganizowanych przez Stowarzyszenie \u201eMiasta w Internecie\u201d we wsp\xf3\u0142pracy z firm\u0105 Intel Technology, pracowali w dw\xf3ch grupach roboczych kt\xf3re poprowadzili <strong>Andrzej Grzybowski</strong> z Firmy Intel Technology, <strong>Marcin Paks</strong> z Zespo\u0142u Szk\xf3\u0142 Og\xf3lnokszta\u0142c\u0105cych Nr 5 w Sosnowcu oraz <strong>Krzysztof G\u0142omb i Artur Krawczyk</strong> z SMWI.</p>\r\n<p style="text-align: justify;">Pierwsza cz\u0119\u015b\u0107 warsztat\xf3w by\u0142a okazj\u0105 do tego, aby uczestnicy zapoznali si\u0119 z platform\u0105 "Intel Education Solution Builder" s\u0142u\u017c\u0105c\u0105 do przygotowywania materia\u0142\xf3w diagnostycznych przez szko\u0142y zainteresowane realizacj\u0105 projekt\xf3w modernizacyjnych w zakresie wdra\u017cania dydaktyki cyfrowej, finansowanych ze \u015brodk\xf3w Regionalnych Program\xf3w Operacyjnych. Platforma umo\u017cliwia, na bazie wywiad\xf3w z przedstawicielami szk\xf3\u0142, przygotowanie szczeg\xf3\u0142owych raport\xf3w niezb\u0119dnych do przygotowania wniosk\xf3w projektowych przez lokalne samorz\u0105dy i ich partnerstwa.</p>\r\n<p style="text-align: justify;">W drugiej cz\u0119\u015bci warsztat\xf3w, przedstawiciele SMWI om\xf3wili z uczestnikami arkusz diagnostyczny stanowi\u0105cy g\u0142\xf3wne \u017ar\xf3d\u0142o informacji nt. infrastruktury i zasob\xf3w plac\xf3wek o\u015bwiatowych. Narz\u0119dzie to pozwala na precyzyjne okre\u015blenie potrzeb dot. infrastruktury technicznej niezb\u0119dnej do uruchomienia w szko\u0142ach projekt\xf3w cyfryzacyjnych.</p>\r\n<p style="text-align: justify;">Na zako\u0144czenie warsztat\xf3w, Krzysztof G\u0142omb i Artur Krawczyk przedstawili uwarunkowania formalno-prawne zwi\u0105zane z przygotowywaniem samorz\u0105dowych konsorcj\xf3w projektowych kt\xf3re ubiega\u0142y si\u0119 b\u0119d\u0105 o \u015brodki finansowe z Regionalnych Program\xf3w Operacyjnych jak r\xf3wnie\u017c okre\u015blili rol\u0119 i aktywno\u015bci na kt\xf3rych winni w najbli\u017cszym czasie koncentrowa\u0107 si\u0119 Latarnicy Polski Cyfrowej zainteresowani wspieraniem dzia\u0142a\u0144 na rzecz wdra\u017cania lokalnych projekt\xf3w \u201ecyfrowej szko\u0142y\u201d.</p>\r\n<p style="text-align: justify;">Zwie\u0144czeniem warsztat\xf3w by\u0142 spacer \u201etras\u0105 pi\u0142karza\u201d i zwiedzanie Stadionu Narodowego.</p>\r\n<p style="text-align: justify;">Maj\u0105c na uwadze du\u017ce zainteresowanie tematyk\u0105 warsztat\xf3w ze strony Latarnik\xf3w postaramy si\u0119 powt\xf3rzy\u0107 warsztaty dla kolejnych os\xf3b w pierwszym kwartale 2016r. O fakcie tym poinformujemy na stronie <a class="moz-txt-link-abbreviated" href="http://www.latarnicy.pl" target="_blank">www.latarnicy.pl</a> oraz na profilu PCRS na Facebooku.</p>\r\n<p style="text-align: justify;">Uczestnikom warsztat\xf3w i wszystkim Latarnikom Polski Cyfrowej \u017cyczymy szcz\u0119\u015bliwego, obfituj\u0105cego w ciekawe przedsi\u0119wzi\u0119cia 2016 roku, sukces\xf3w i wielu okazji do spotka\u0144 i dzia\u0142a\u0144 na rzecz edukacji cyfrowej Polak\xf3w!</p>\r\n<p style="text-align: justify;">Organizatorzy dzi\u0119kuj\u0105 za pomoc w organizacji spotkania firmie ACTION Centrum Edukacyjne Sp.z o.o.</p>', u'\n ', u'\n '] |
unpack | False |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/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: object.render> |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
if settings.TEMPLATE_STRING_IF_INVALID:
global invalid_var_format_string
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0x7f480165c8d0> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
if self.message_context:
return pgettext_lazy(self.message_context, value)
Variable | Value |
---|---|
self | <Variable: u'object.render'> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/var/www/disk/latarnicy.pl/miasta-w-internecie/venv/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
current = settings.TEMPLATE_STRING_IF_INVALID
else:
try: # method call (assuming no args required)
current = current()...
except TypeError: # arguments *were* required
# GOTCHA: This will also catch any TypeError
# raised in the function itself.
current = settings.TEMPLATE_STRING_IF_INVALID # invalid method call
except Exception as e:
if getattr(e, 'silent_variable_failure', False):
Variable | Value |
---|---|
current | <bound method GalleryContent.render of <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>> |
bit | u'render' |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
self | <Variable: u'object.render'> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'images_list': [], 'like_url': '/common/like/', 'cat': None, 'has_gallery': True, 'newest_articles': [<BlogEntry: Nowy projekt Latarniczy! >, <BlogEntry: Wszystkiego najlepszego w Międzynarodowy Dzień Wolontariusza! >, <BlogEntry: SMWI Architektem Rozwoju 2018>, <BlogEntry: Projekt Latarnicy2020.pl >], 'article': <BlogEntry: Diagnostyka szkoły cyfrowej na Stadionie Narodowym>, 'likes_count': 1, 'slug': u'diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', u'view': <apps.blog.views.ArticleView object at 0x7f4801639ad0>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4801a4be50>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4801a53790>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f4801a66cd0>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4801639710>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'pl'}, {u'STATIC_URL': '/static/'}, {u'MEDIA_URL': '/media/'}, {u'request': <WSGIRequest path:/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', 'QUERY_STRING': '', 'REMOTE_ADDR': '52.91.0.68', 'REMOTE_PORT': '52112', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'latarnicy.pl', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'vps711161', 'uwsgi.version': '2.0.15-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f48060149d0>, 'wsgi.multiprocess': False, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'TIME_ZONE': 'Europe/Warsaw'}, {'PYBB_AVATAR_DIMENSIONS': '80x80', 'PYBB_MARKUP': 'bbcode', 'PYBB_TEMPLATE': 'base.html', 'PYBB_DEFAULT_AVATAR_URL': '/static/pybb/img/default_avatar.jpg', 'PYBB_DEFAULT_TITLE': 'PYBB Powered Forum', 'PYBB_ATTACHMENT_ENABLE': True, 'PYBB_ENABLE_ANONYMOUS_POST': False}, {'current_domain': u'http://latarnicy.pl', 'DEBUG': True, 'authenticate_form': <apps.profiles.forms.LoginForm object at 0x7f480164f690>}, {'query_without_page': <QueryDict: {}>}, {'cms_pages': [<Page: Założenia PCRS >, <Page: Kim są Latarnicy?>, <Page: Historia>, <Page: Streszczenia LPD>, <Page: Dla mediów>, <Page: Gmail>]}, {u'calendar_url': '/calendar/events-reports/', u'knowledge_url': '/knowledge-base/', u'blog_url': '/blog/', u'common_url': '/common/fifty-plus/'}, {'block': <Block Node: body_content. Contents: [<Text Node: ' <article class="event"> '>, <Variable Node: article.published_on|date:"d.m.Y">, <Text Node: '</time> <h3> '>, <Variable Node: article.title>, <Text Node: ' </h3> </head'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53c90>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="article'>, <For Node: for object in article.content.main, tail_len: 3>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> </article> '>, <django.template.defaulttags.URLNode object at 0x7f480165cb50>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f480165c110>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f4801a53690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53490>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4801a53510>, <Text Node: ' '>]>}, {u'forloop': {u'revcounter0': 0, u'last': True, u'counter': 2, u'parentloop': {}, u'revcounter': 1, u'counter0': 1, u'first': False}, u'object': <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1>}] |
/home/tomek/.local/lib/python2.7/site-packages/gallery/models.py
in render
remaining = []
# check if the type is paginated
if self.has_pagination():
paginator = Paginator(objects, self.spec.paginate_by,
orphans=self.spec.orphans)
try:
page = int(request.GET.get('page', 1))...
except ValueError:
page = 1
try:
current_page = paginator.page(page)
except (EmptyPage, InvalidPage):
current_page = paginator.page(paginator.num_pages)
Variable | Value |
---|---|
paginator | <django.core.paginator.Paginator object at 0x7f4800ae8650> |
self | <GalleryContent: main on Diagnostyka szkoły cyfrowej na Stadionie Narodowym, ordering 1> |
request | None |
objects | [] |
kwargs | {} |
remaining | [] |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | False |
HTTP_REFERER | 'https://latarnicy.pl/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'latarnicy.pl' |
REMOTE_ADDR | '52.91.0.68' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'vps711161' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7f48060149d0> |
HTTP_HOST | 'latarnicy.pl' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/blog/article/diagnostyka-szkoly-cyfrowej-na-stadionie-narodowym/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660> |
REMOTE_PORT | '52112' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.15-debian' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'LvrfPLCPXRXPCYv9KIoDgHTPmnUHOMcI' |
settings
Setting | Value |
---|---|
COMPRESS_URL | '/static/' |
TESTING | True |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
USE_L10N | True |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters') |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'pl' |
ROOT_URLCONF | 'urls' |
MANAGERS | (('Laboratorium EE', 'kontakt@laboratorium.ee'),) |
BROKER_URL | 'redis://localhost:6379/1' |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
DEFAULT_CHARSET | 'utf-8' |
IGNORABLE_404_URLS | () |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | './static_collected' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
USE_THOUSAND_SEPARATOR | False |
RECAPTCHA_PUBLIC_KEY | u'********************' |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
ITCUBE_HOST | 'crm.mwi.pl' |
ALLOWED_HOSTS | ('latarnicy.pl',) |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
JCROP_IMAGE_WIDGET_DIMENSIONS | '940x940' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
SESSION_CACHE_ALIAS | 'default' |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': '', 'NAME': 'latarnicy-prod', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': 'tomek'}} |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
ITCUBE_PASS | u'********************' |
DEFAULT_CONTENT_TYPE | 'text/html' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}} |
SERVER_EMAIL | 'no-reply@latarnicy.pl' |
SESSION_COOKIE_PATH | '/' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_CACHE_BACKEND | u'default' |
MIDDLEWARE_CLASSES | ('django.middleware.gzip.GZipMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.common.CommonMiddleware', 'apps.common.middleware.ProfileCheck', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'apps.common.middleware.CommentAdded', 'devserver.middleware.DevServerMiddleware', 'apps.profiles.middleware.AutoProfileMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
PLACEHOLDER_IMAGE | 'placeholders/placeholder.png' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
SESSION_COOKIE_SECURE | False |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_VERBOSE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
COMMENTS_APP | 'apps.custom_comments' |
SESSION_FILE_PATH | None |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.gis', 'django.contrib.comments', 'django.contrib.webdesign', 'haystack', 'feincms', 'feincms.module.page', 'feincms.module.medialibrary', 'gallery', 'elephantblog', 'widget_tweaks', 'djcelery', 'kombu.transport.django', 'compressor', 'south', 'django_extensions', 'pybb', 'pytils', 'sorl.thumbnail', 'pure_pagination', 'captcha', 'mptt', 'easy_thumbnails', 'filer', 'pennyblack', 'pennyblack.module.subscriber', 'apps.knowledge_base', 'apps.common', 'apps.map', 'apps.calendar', 'apps.cms', 'apps.newsletter', 'apps.blog', 'apps.elearning', 'apps.feed', 'apps.profiles', 'apps.polls', 'apps.custom_comments', 'apps.search', 'apps.user_polls', 'pretty_times', 'django_jcrop', 'image_cropping', 'reversetag') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
COMMENTS_ALLOW_PROFANITIES | False |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
STATICFILES_DIRS | ('./static/',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
ISSUE_KEY_SECRET | u'********************' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/profiles/login' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
TIME_FORMAT | 'P' |
GEOIP_PATH | '/mnt/disk/www/latarnicy.pl/miasta-w-internecie/cities_portal/geo_ip_data' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
FILER_DEBUG | True |
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') |
COMPRESS_CSS_FILTERS | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
AUTHENTICATION_BACKENDS | ('auth.LoginBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
AUTH_PROFILE_MODULE | 'profiles.UserProfile' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/static//admin/' |
NUMBER_GROUPING | 0 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
LOGIN_REDIRECT_URL | '/' |
PROJECT_ROOT | '/mnt/disk/www/latarnicy.pl/miasta-w-internecie/cities_portal' |
DECIMAL_SEPARATOR | '.' |
COMPRESS_PRECOMPILERS | (('text/coffeescript', 'coffee --compile --stdio'), ('text/less', 'lessc --include-path="/mnt/disk/www/latarnicy.pl/miasta-w-internecie/cities_portal/static/less" {infile} {outfile}'), ('text/x-sass', 'sass {infile} {outfile}'), ('text/x-scss', 'sass --scss {infile} {outfile}')) |
COMPRESS_MTIME_DELAY | 10 |
SITE_ID | 1 |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('./templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | '127.0.0.1' |
ISSUU_KEY | u'********************' |
DATE_FORMAT | 'N j, Y' |
OPTIONAL_APPS | ('debug_toolbar', 'filebrowser_safe', 'grappelli_safe') |
MEDIA_ROOT | './media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Laboratorium EE', 'kontakt@laboratorium.ee'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'no-reply@latarnicy.pl' |
COMPRESS_ROOT | '/mnt/disk/www/latarnicy.pl/miasta-w-internecie/cities_portal/static_collected' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DEFAULT_FILE_THUMBNAIL_VERTICAL | '/static/images/core/default_vertical.png' |
SOUTH_MIGRATION_MODULES | {'easy_thumbnails': 'easy_thumbnails.south_migrations'} |
CELERY_TIMEZONE | 'Europe/Warsaw' |
COMPRESS_MINT_DELAY | 30 |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
ITCUBE_USER | 'icsolutions' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
COMPRESS_ENABLED | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_OFFLINE | False |
TIME_ZONE | 'Europe/Warsaw' |
PYBB_ATTACHMENT_ENABLE | True |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
COMPRESS_JINJA2_GET_ENVIRONMENT | None |
POSTGIS_VERSION | (1, 5, 3) |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.static', 'django.core.context_processors.media', 'django.core.context_processors.request', 'django.core.context_processors.tz', 'pybb.context_processors.processor', 'apps.common.contextProcessors.main', 'apps.common.contextProcessors.query_without_page', 'apps.cms.context_processors.pages', 'feincms.context_processors.add_page_if_missing') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'settings' |
USE_ETAGS | False |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.RealtimeSignalProcessor' |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
FEINCMS_RICHTEXT_INIT_CONTEXT | {'TINYMCE_JS_URL': '/static/js/vendor/tiny_mce/tiny_mce.js'} |
CELERY_RESULT_BACKEND | 'database' |
PASSWORD_HASHERS | u'********************' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
DEFAULT_FILE_THUMBNAIL_HORIZONTAL | '/static/images/core/default.png' |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
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.