'NoneType' object has no attribute 'GET'
Request Method: | GET |
---|---|
Request URL: | https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow/ |
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: | Pt, 29 Marz 2024 00:47:42 +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 0x7f48099ac1d0>, args=(), kwargs={'slug': u'spotkanie-zachodniopomorskich-latarnikow'}, url_name='show_article', app_name='None', namespace='blog') |
middleware_method | <bound method DevServerMiddleware.process_view of <devserver.middleware.DevServerMiddleware object at 0x7f480c10a890>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f48248b6590> |
request | "<WSGIRequest\npath:/blog/article/spotkanie-zachodniopomorskich-latarnikow/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7',\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/spotkanie-zachodniopomorskich-latarnikow',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.201.24.171',\n 'REMOTE_PORT': '47610',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/',\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 0x7f480938cbb0>,\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 0x7f48099ac1d0> |
wrapped_callback | <function ArticleView at 0x7f48099ac1d0> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
callback_kwargs | {'slug': u'spotkanie-zachodniopomorskich-latarnikow'} |
response | <django.template.response.TemplateResponse object at 0x7f48055a4e50> |
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 0x7f48055a4e50> |
retval | <django.template.response.TemplateResponse object at 0x7f48055a4e50> |
/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 0x7f48055a4e50> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
template | <django.template.base.Template object at 0x7f48054906d0> |
/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 0x7f48054906d0> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f48054906d0> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f480542bc50> |
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 0x7f4805406c50> |
n | <Block Node: extra_js. Contents: [<Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
compiled_parent | <django.template.base.Template object at 0x7f4805406d90> |
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 0x7f4805406d90> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f480542bc50>, <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 0x7f480541c1d0>, <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 0x7f480541cfd0>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541ca50>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541cc90>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541ce50>, <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 0x7f4805422ed0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4805422850>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4805422dd0>, <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 0x7f480542b710>, <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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f480542bc50>, <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 0x7f480541c1d0>, <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 0x7f480541cfd0>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541ca50>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541cc90>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f480541ce50>, <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 0x7f4805422ed0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4805422850>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f4805422dd0>, <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 0x7f480542b710>, <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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4805406c50> |
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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
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'25.06.2014', u'</time>\n <h3>\n ', u'Spotkanie zachodniopomorskich Latarnik\xf3w', 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/spotkanie-zachodniopomorskich-latarnikow/">\n <span class="fb-counter">\n 3\n </span>\n </a>\n <a class="social-twitter" href="http://twitter.com/home?status=Czytam: Spotkanie zachodniopomorskich Latarnik\xf3w%2Bhttps://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow/" data-url="https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow/">twitter</a>\n <a class="social-google" href="https://plus.google.com/share?url=https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow/">google+</a>\n </div>\n</div> <!--/.functions-wrapper -->\n', u'\n\n\n ', u'\n \n \n <img src="/media/main_image/003.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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <Text Node: ' '>] |
e | AttributeError("'NoneType' object has no attribute 'GET'",) |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 Spotkanie zachodniopomorskich Latarników, ordering 2> |
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 Spotkanie zachodniopomorskich Latarników, ordering 0>, <GalleryContent: main on Spotkanie zachodniopomorskich Latarników, ordering 2>] |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
nodelist | [u'\n ', u'<p style="text-align: justify;">Zachodniopomorscy Latarnicy doczekali si\u0119 swojego Regionalnego Zjazdu. 23-24 czerwca w Koszalinie oraz malowniczych G\u0105skach, w s\u0105siedztwie drugiej co do wysoko\u015bci latarni morskiej na polskim wybrze\u017cu, cyfrowi animatorzy dyskutowali na temat problem\xf3w wykluczenia cyfrowego w wojew\xf3dztwie oraz ich w\u0142asnej aktywno\u015bci, prowadz\u0105cej do zmniejszenia zasi\u0119gu tego zjawiska.</p>\r\n<p style="text-align: justify;">Zachodniopomorski Zjazd Latarnik\xf3w Polski Cyfrowej rozpocz\u0105\u0142 si\u0119 oficjaln\u0105 konferencj\u0105 w Urz\u0119dzie Miasta Koszalina, kt\xf3ra zgromadzi\u0142a przedstawicieli instytucji publicznych, partner\xf3w Latarnik\xf3w, wspieraj\u0105cych ich dzia\u0142alno\u015b\u0107, a tak\u017ce lokalnych samorz\u0105d\xf3w \u2013 w tym m.in. Tomasza Sobieraja, Zast\u0119pc\u0119 Prezydenta Miasta ds. Planowania i Cyfryzacji, kt\xf3ry opowiedzia\u0142 o najwa\u017cniejszych programach spo\u0142ecznych, kt\xf3re realizowane s\u0105 obecnie w Gda\u0144sku.</p>\r\n<p style="text-align: justify;">Przed uczestnikami konferencji wyst\u0105pi\u0142a tak\u017ce przedstawicielka Latarnik\xf3w Polski Cyfrowej \u2013 Natalia K\u0142us-Szczeblewska, kt\xf3ra zaprezentowa\u0142a dokonania os\xf3b zaanga\u017cowanych w program Polska Cyfrowa R\xf3wnych Szans w woj. zachodniopomorskim (prezentacja poni\u017cej). Zaproszenie Latarniczki przyj\u0119\u0142a jej podopieczna \u2013 pani Regina Adamowicz, kt\xf3ra na latarnicze zaj\u0119cia posz\u0142a \u017ceby "sprawdzi\u0107 czy jej wiersz da sie wys\u0142a\u0107 elektronicznie\u201d. Przed zgromadzonymi w sali uczestnikami zaprezentowa\u0142a pr\xf3bk\u0119 swojego talentu:</p>\r\n<p style="text-align: justify;">\u201eM\u0142odo\u015b\u0107 \u2013 da\u0142abym wiele <br /> Gdyby wr\xf3ci\u0142a<br /> M\u0142odo\u015b\u0107 i si\u0142a<br /> O\u017cy\u0142aby na nowo<br /> \u0141atwiej by\u0142oby \u017cy\u0107<br /> Daj\u0119 s\u0142owo</p>\r\n<p style="text-align: justify;">\u2026 A dzi\u015b? <br /> Patrz\u0119 na m\u0142odych <br /> Z perspektywy Minionych lat <br /> Patrz\u0119 na m\u0142odo\u015b\u0107 <br /> Moich wnucz\u0105t <br /> Od nich si\u0119 wiele ucz\u0119 <br /> O jak\u017ce zmieni\u0142 si\u0119 \u015bwiat <br /> Ich \u015bwiat, nasz \u015bwiat <br /> Jedno klikniecie w Internecie<br /> I wiesz Co dzieje si\u0119 w \u015bwiecie <br /> I zamiast listu <br /> Wysy\u0142asz SMS</p>\r\n<p style="text-align: justify;">\u017bycie ich pe\u0142ne wra\u017ce\u0144<br />Rakiety w podr\xf3\u017c<br />Mkn\u0105 kosmiczn\u0105<br />A ja?<br />Powracam do swoich marze\u0144<br />I ceni\u0119 sw\u0105 m\u0142odo\u015b\u0107<br />Romantyczn\u0105</p>\r\n<p style="text-align: justify;">Druga cz\u0119\u015b\u0107 zjazdu odby\u0142a si\u0119 w G\u0105skach gdzie Latarnicy pracowali nad podniesieniem swoich kompetencji cyfrowych. W pracy warsztatowej skupili si\u0119 na poszerzeniu wiedzy na temat og\xf3lnie dost\u0119pnych i bezp\u0142atnych narz\u0119dzi takich jak Dysk Google, Dokumenty Online czy Ankiety.</p>\r\n<p style="text-align: justify;">Skupiono si\u0119 na tworzeniu plik\xf3w z wykorzystaniem arkusza kalkulacyjnego Google. Latarnicy poznali wszystkie fazy tworzenia arkusza, dzi\u0119ki kt\xf3remu w procesie szkolenia b\u0119dzie mo\u017cna wykorzysta\u0107 elementy grywalizacji. Nast\u0119pnie uczestnicy warsztat\xf3w, podzieleni na grupy rywalizowali ze sob\u0105 uczestnicz\u0105c w grze opartej na ankiecie Google, kt\xf3ry zosta\u0142 przygotowany specjalnie na t\u0105 okazj\u0119. Ten etap szkolenia wzbudzi\u0142 w latarnikach najwi\u0119cej emocji \u2013 dzi\u0119ki elementom rywalizacji uczestnicy warsztat\xf3w zg\u0142\u0119biali swoj\u0105 wiedz\u0119 teoretyczna i praktyczn\u0105 w nowy, ciekawy spos\xf3b</p>\r\n<p style="text-align: justify;">W nast\u0119pnej cz\u0119\u015bci warsztat\xf3w grupy opracowa\u0142y w\u0142asne arkusze Google, kt\xf3re w przysz\u0142o\u015bci b\u0119d\u0105 mog\u0142y by\u0107 wykorzystane w zaj\u0119ciach latarniczych z seniorami. Stworzone przez nich "gry" maj\u0105 szans\u0119 uatrakcyjni\u0107 proces wprowadzania pokolenia 50+ w cyfrowy \u015bwiat i urozmaici\u0107 zaj\u0119cia. Uczestnicy warsztat\xf3w wymienili si\u0119 mi\u0119dzy sob\u0105 utworzonymi arkuszami, dziel\u0105c si\u0119 w ten spos\xf3b zdobyt\u0105 a na warsztatach wiedz\u0105.</p>\r\n<p style="text-align: justify;">Ostatnim akordem warsztat\xf3w po\u015bwi\u0119cono narz\u0119dziom dzi\u0119ki kt\xf3rym mo\u017cliwe jest prowadzenie zaj\u0119\u0107 bez dost\u0119pu do Internetu, \xa0z wykorzystaniem og\xf3lnodost\u0119pnego, darmowego oprogramowania. Om\xf3wiono programy do edycji fotografii, tworzenia plik\xf3w w formacie PDF oraz aplikacje dost\u0119pne w wersji portable, kt\xf3re w \u0142atwy spos\xf3b mo\u017cemy mie\u0107 zawsze przy sobie i uruchamia\u0107 na dowolnym dost\u0119pnym komputerze.</p>\r\n<p style="text-align: justify;">Du\u017cym zainteresowaniem cieszy\u0142y si\u0119 r\xf3wnie\u017c programy i aplikacje \u201erozszerzonej rzeczywisto\u015bci\u201d prezentowane podczas warsztatu (np. Aurasma) oraz r\xf3\u017cnego rodzaju dodatki na smartfony. Om\xf3wiono aplikacje pogodowe dla fan\xf3w Formu\u0142y 1 (Racing Elements), pozwalaj\u0105ce na bezproblemow\u0105 obs\u0142ug\u0119 telewizor\xf3w z funkcj\u0105 SMART (np. LG TV Remote) czy te\u017c specjalnie na mundial przygotowan\u0105 aplikacj\u0119 (FIFA world cup Brasil)</p>\r\n<p style="text-align: justify;">To nie ostatni regionalny zjazd Latarnik\xf3w Polski Cyfrowej w tym miesi\u0105cu \u2013 27 i 28 czerwca w Gda\u0144sku spotkaj\u0105 si\u0119 przedstawiciele wojew\xf3dztwa pomorskiego. Zapraszamy do uczestnictwa!</p>\r\n<p style="text-align: justify;">\xa0</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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f48055ab5d0> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {'liked_by_me': False, 'art': <BlogEntry: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 Spotkanie zachodniopomorskich Latarników, ordering 2>> |
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: Spotkanie zachodniopomorskich Latarników>, '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: Spotkanie zachodniopomorskich Latarników>, 'likes_count': 3, 'slug': u'spotkanie-zachodniopomorskich-latarnikow', u'view': <apps.blog.views.ArticleView object at 0x7f480192bb10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f48054a77d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f48053f6850>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f480547e450>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4805490510>}, {}, {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/spotkanie-zachodniopomorskich-latarnikow/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'latarnicy.pl', 'HTTP_REFERER': 'https://latarnicy.pl/blog/article/spotkanie-zachodniopomorskich-latarnikow', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.201.24.171', 'REMOTE_PORT': '47610', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/blog/article/spotkanie-zachodniopomorskich-latarnikow/', 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 0x7f480938cbb0>, '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 0x7f48054a7410>}, {'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 0x7f4805499690>, <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 0x7f48055ab710>, <Text Node: '">« wr??</a> <div '>, <django.contrib.comments.templatetags.comments.CommentCountNode object at 0x7f48055abb50>, <Text Node: ' <h5>Komentarze ('>, <Variable Node: comment_count>, <Text Node: ') </h5> '>, <IfNode>, <Text Node: ' '>, <django.contrib.comments.templatetags.comments.CommentListNode object at 0x7f48053f66d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6610>, <Text Node: ' </div> <!-- /.comme'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f48053f6790>, <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 Spotkanie zachodniopomorskich Latarników, ordering 2>}] |
/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 0x7f4805019ed0> |
self | <GalleryContent: main on Spotkanie zachodniopomorskich Latarników, ordering 2> |
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/spotkanie-zachodniopomorskich-latarnikow' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/blog/article/spotkanie-zachodniopomorskich-latarnikow/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'latarnicy.pl' |
REMOTE_ADDR | '44.201.24.171' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'vps711161' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7f480938cbb0> |
HTTP_HOST | 'latarnicy.pl' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/blog/article/spotkanie-zachodniopomorskich-latarnikow/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f481d8a6660> |
REMOTE_PORT | '47610' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.15-debian' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'OMAfjId5173Pr3jGLAdSC2g9pa3Ss8I7' |
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.