The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.
Request Method: | GET |
---|---|
Request URL: | http://www.healthpad.net/provider/profile/5792/aurawomen/ |
Django Version: | 1.5.1 |
Exception Type: | MissingSource |
Exception Value: | The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it. |
Exception Location: | /var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/specs/__init__.py in generate, line 127 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.3 |
Python Path: | ['/var/sites/phoenix/app/', '.', '', '/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/var/sites/phoenix/app/.venv/lib/python2.7', '/var/sites/phoenix/app/.venv/lib/python2.7/plat-linux2', '/var/sites/phoenix/app/.venv/lib/python2.7/lib-tk', '/var/sites/phoenix/app/.venv/lib/python2.7/lib-old', '/var/sites/phoenix/app/.venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages', '/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/PIL'] |
Server time: | Thu, 28 Mar 2024 14:33:37 +0000 |
In template /var/sites/phoenix/app/kwatsi/templates/kwatsi/provider/profile_right_bar.html
, error at line 26
16 | <br/> |
---|---|
17 | {% endif %} |
18 | |
19 | |
20 | {% if object != profile %} |
21 | <h4 class="kw2_with-underline">Author</h4> |
22 | <div class="clear kw2_h-divider kw2_with-title-above"></div> |
23 | {% endif %} |
24 | <div class="kw2_right-sidebar-content"> |
25 | <a href="{{ profile.get_absolute_url }}"> |
26 | {% thumbnail "162x" profile.image %} |
27 | </a> |
28 | |
29 | {% if user_profile and user_profile.pk != profile.pk %} |
30 | |
31 | {% if user_profile|is_following:profile %} |
32 | <form action="{% url "follow_remove" %}" method="post"> |
33 | {% csrf_token %} |
34 | <input type="hidden" name="next" value="{{ request.path_info }}" /> |
35 | <input type="hidden" name="target_id" value="{{ profile.pk }}" /> |
36 | <button type="submit" class="kw2_btn-type6 long">Following</button> |
/var/sites/phoenix/app/.venv/local/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 the 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 ProfileDetailView at 0x3578050>, args=(), kwargs={'pk': u'5792', 'slug': u'aurawomen'}, url_name='profile_detail', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x1f2d050>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fd5411a5ad0> |
request | "<WSGIRequest\npath:/provider/profile/5792/aurawomen/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.healthpad.net',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/provider/profile/5792/aurawomen/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.232.169.110',\n 'REMOTE_PORT': '57550',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/provider/profile/5792/aurawomen/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'zeta.kwatsi.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'zeta.kwatsi.com',\n 'uwsgi.version': '1.0.3-debian',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x12e94060>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function ProfileDetailView at 0x3578050> |
resolver | <RegexURLResolver 'phoenix.urls' (None:None) ^/> |
callback_kwargs | {'pk': u'5792', 'slug': u'aurawomen'} |
response | <django.template.response.TemplateResponse object at 0x12ef6f90> |
urlconf | 'phoenix.urls' |
/var/sites/phoenix/app/.venv/local/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 0x12ef6f90> |
retval | <django.template.response.TemplateResponse object at 0x12ef6f90> |
/var/sites/phoenix/app/.venv/local/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 0x12ef6f90> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
template | <django.template.base.Template object at 0x12ef6290> |
/var/sites/phoenix/app/.venv/local/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 0x12ef6290> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 0x12ef6290> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/provider/profile_base.html"> |
self | [<ExtendsNode: extends "kwatsi/provider/profile_base.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/provider/profile_base.html"> |
self | [<ExtendsNode: extends "kwatsi/provider/profile_base.html">] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <ExtendsNode: extends "kwatsi/layout/base.html"> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
compiled_parent | <django.template.base.Template object at 0x6619290> |
self | <ExtendsNode: extends "kwatsi/provider/profile_base.html"> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 0x6619290> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/layout/base.html"> |
self | [<ExtendsNode: extends "kwatsi/layout/base.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/layout/base.html"> |
self | [<ExtendsNode: extends "kwatsi/layout/base.html">] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <ExtendsNode: extends "kwatsi/layout/bare.html"> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
compiled_parent | <django.template.base.Template object at 0x5966c90> |
self | <ExtendsNode: extends "kwatsi/layout/base.html"> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 0x5966c90> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/layout/bare.html"> |
self | [<ExtendsNode: extends "kwatsi/layout/bare.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 "kwatsi/layout/bare.html"> |
self | [<ExtendsNode: extends "kwatsi/layout/bare.html">] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <IfNode> |
blocks | {u'body': <Block Node: body. Contents: [<Text Node: ' '>]>, u'body_class': <Block Node: body_class. Contents: []>, u'extra_css': <Block Node: extra_css. Contents: []>, u'extra_head': <Block Node: extra_head. Contents: []>, u'extra_js': <Block Node: extra_js. Contents: []>, u'title': <Block Node: title. Contents: []>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
n | <Block Node: extra_js. Contents: []> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
compiled_parent | <django.template.base.Template object at 0x5c469d0> |
self | <ExtendsNode: extends "kwatsi/layout/bare.html"> |
/var/sites/phoenix/app/.venv/local/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 0x5c469d0> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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. Contents: [<Text Node: ' '>]> |
bit | u'">\n ' |
bits | [u'<!DOCTYPE html>\n<html>\n<head>\n <title>HealthPad', u'', u' | ', u'Profile', u'</title>\n <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n <meta http-equiv="X-UA-Compatible" content="IE=9" />\n <meta name="author" content="kwatsi" />\n <meta name="description" content="Showcase and discover health expertise." />\n\n ', u'\n <meta name="robots" content="index, follow" />\n ', u'\n\n <link href="http://fonts.googleapis.com/css?family=Ubuntu:300,400,700,400italic" rel="stylesheet" type="text/css">\n <link rel="stylesheet" type="text/css" media="all" href="', u'/static/', u'kwatsi/lib/select2/select2.css" />\n <link rel="stylesheet" type="text/css" media="all" href="', u'/static/', u'kwatsi/lib/videojs/video-js.css" />\n <link rel="stylesheet" type="text/css" media="all" href="', u'/static/', u'kwatsi/lib/colorbox/colorbox.css" />\n <link rel="stylesheet" type="text/css" media="all" href="', u'/static/', u'kwatsi/css/base.css" />\n <link rel="stylesheet" type="text/css" media="all" href="', u'/static/', u'kwatsi/css/kwatsi.css" />\n\n ', u'\n ', u'\n <link rel="shortcut icon" href="', u'/static/', u'kwatsi/img/healthpad-logo-16x16.png">\n <link rel="apple-touch-icon-precomposed" href="', u'/static/', u'kwatsi/img/healthpad-logo-16x16.png">\n\n ', u'', u'\n ', u'\n <script type="text/javascript" charset="utf-8">\n window._messages = [\n \n ];\n </script>\n', u'\n</head>\n<body class="', u'', u'">\n '] |
self | [<Text Node: '<!DOCTYPE html> <html> <h'>, <IfNode>, <Text Node: ' | '>, <Block Node: title. Contents: []>, <Text Node: '</title> <meta http-e'>, <IfNode>, <Text Node: ' <link href="http://'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/select2/select'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/videojs/video-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/colorbox/color'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/css/base.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/css/kwatsi.css" />'>, <Text Node: ' '>, <Text Node: ' <link rel="shortcut '>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/img/healthpad-logo'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/img/healthpad-logo'>, <Block Node: extra_css. Contents: []>, <Text Node: ' '>, <Block Node: extra_head. Contents: []>, <Text Node: ' </head> <body class="'>, <Block Node: body_class. Contents: []>, <Text Node: '"> '>, <Block Node: body. Contents: [<Text Node: ' '>]>, <Text Node: ' <script type="text/'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/jquery/jquery-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/jquery/jquery-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/autosize/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/select2/select'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/validate/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/maskedinput/jq'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/resize/jquery.'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/videojs/video.'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/colorbox/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/form/jquery.fo'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/noty/jquery.no'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/noty_config.js"'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/misc_libs.js"><'>, <Block Node: extra_js. Contents: []>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/main.js"></scri'>, <IfNode>, <Text Node: ' </body> </html> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '<!DOCTYPE html> <html> <h'>, <IfNode>, <Text Node: ' | '>, <Block Node: title. Contents: []>, <Text Node: '</title> <meta http-e'>, <IfNode>, <Text Node: ' <link href="http://'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/select2/select'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/videojs/video-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/colorbox/color'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/css/base.css" /> '>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/css/kwatsi.css" />'>, <Text Node: ' '>, <Text Node: ' <link rel="shortcut '>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/img/healthpad-logo'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/img/healthpad-logo'>, <Block Node: extra_css. Contents: []>, <Text Node: ' '>, <Block Node: extra_head. Contents: []>, <Text Node: ' </head> <body class="'>, <Block Node: body_class. Contents: []>, <Text Node: '"> '>, <Block Node: body. Contents: [<Text Node: ' '>]>, <Text Node: ' <script type="text/'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/jquery/jquery-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/jquery/jquery-'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/autosize/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/select2/select'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/validate/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/maskedinput/jq'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/resize/jquery.'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/videojs/video.'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/colorbox/jquer'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/form/jquery.fo'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/lib/noty/jquery.no'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/noty_config.js"'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/misc_libs.js"><'>, <Block Node: extra_js. Contents: []>, <Text Node: ' <script type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'kwatsi/js/main.js"></scri'>, <IfNode>, <Text Node: ' </body> </html> '>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
block | <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
self | <Block Node: body. Contents: [<Text Node: ' '>]> |
/var/sites/phoenix/app/.venv/local/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: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]> |
bit | u'\n\n ' |
bits | [u'\n ', u'\n\n<div id="kw2_header">\n <div class="kw2_container">\n <div class="kw2_logo">\n <a href="/dashboard/">\n <img src="/static/kwatsi/img/base_img/img-headerlogo.png" height="67" width="137" />\n </a>\n </div>\n <div class="kw2_search-bar">\n <form class="kw2_search" action="/search/">\n <fieldset class=" ">\n <input id="search_input" class="kw2_text auto-clear" type="text" name="q" value="" placeholder="Search">\n <input class="kw2_btn" type="submit" value="search">\n </fieldset>\n </form>\n </div>\n <div class="kw2_account-menu">\n \n\n <div class="kw2_username">\n <a href="#">\n Authentication\n <img src="/static/kwatsi/img/base_img/img-account-menu-username-downarrow.png" width="5" height="10" />\n </a>\n <div class="npopover top">\n <div class="link">\n <a href="/accounts/login/">\n Sign In\n </a>\n </div>\n <div class="link">\n <a href="/accounts/facebook/login/">\n Facebook Connect\n </a>\n </div>\n <hr />\n <div class="button">\n <a href="/accounts/signup/">Create account</a>\n </div>\n </div>\n </div>\n\n \n </div>\n </div>\n</div>\n<div class="clear"></div>\n', u'\n\n '] |
self | [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]> |
self | [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
block | <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
self | <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]> |
/var/sites/phoenix/app/.venv/local/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: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]> |
bit | u'\n\n <div id="kw2_content-body-inner">\n <div id="kw2_right-sidebar">\n ' |
bits | [u'\n <div class="kw2_container">\n ', u'\n\n\n<div id="kw2_left-sidebar">\n <ul class="kw2_menu">\n <li class="kw2_taller">\n <a href="/dashboard/">\n <div class="icon-holder icon-dashboard"></div>\n <span>Dashboard</span>\n </a>\n </li>\n <li class="kw2_taller kw2_active">\n <a href="/providers/">\n <div class="icon-holder icon-provider"></div>\n <span>Providers</span>\n </a>\n \n </li>\n <li class="kw2_taller">\n <a href="/publications/">\n <div class="icon-holder icon-publication"></div>\n <span>Publications</span>\n </a>\n \n </li>\n <li class="kw2_taller">\n <a href="/networks/">\n <div class="icon-holder icon-network"></div>\n <span>Networks</span>\n </a>\n \n </li>\n <li class="kw2_taller">\n <a href="/clusters/">\n <div class="icon-holder icon-cluster"></div>\n <span>Clusters</span>\n </a>\n \n </li>\n <li class="kw2_taller">\n <a href="/clinics/">\n <div class="icon-holder icon-clinic"></div>\n <span>Virtual Clinics</span>\n </a>\n \n </li>\n <li class="kw2_taller">\n <a href="/dashboard/">\n <div class="icon-holder icon-directory"></div>\n <span>Directories</span>\n </a>\n \n <div class="npopover left">\n \n<div class="link">\n <a href="/directory/25/ask-dr-jenny/">\n ask Dr Jenny\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/1/cancer/">\n Cancer\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/24/cosmetic-surgery/">\n Cosmetic Surgery\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/7/dentistry/">\n Dentistry\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/2/diabetes/">\n Diabetes\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/36/emergency-medicine/">\n Emergency Medicine\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/31/endocrinology/">\n Endocrinology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/28/ent/">\n ENT\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/18/gastroenterology/">\n Gastroenterology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/33/haematology/">\n Haematology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/22/healthcare/">\n Healthcare\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/21/health-policy/">\n Health Policy\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/5/heart-disease/">\n Heart disease\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/19/hepatology/">\n Hepatology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/37/medical-technology/">\n Medical Technology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/8/medicine/">\n Medicine\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/34/nephrology/">\n Nephrology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/4/neurosurgery/">\n Neurosurgery\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/12/obstetrics-and-gynaecology/">\n Obstetrics and Gynaecology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/23/ophthalmology/">\n Ophthalmology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/16/orthopaedics/">\n Orthopaedics\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/30/paediatrics/">\n Paediatrics\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/20/palliative-care/">\n Palliative Care\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/26/patients-voices/">\n Patients' Voices\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/17/plastic-and-reconstructive-surgery/">\n Plastic and Reconstructive Surgery\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/3/pregnancy-childbirth/">\n Pregnancy & childbirth\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/6/preventive-medicine/">\n Preventive medicine\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/32/pulmonology/">\n Pulmonology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/9/radiotherapy/">\n Radiotherapy\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/29/rheumatology/">\n Rheumatology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/11/std/">\n STD\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/10/urology/">\n Urology\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/35/vascular-disease/">\n Vascular Disease\n </a>\n</div>\n\n<div class="link">\n <a href="/directory/27/weight-management/">\n Weight Management\n </a>\n</div>\n\n\n </div>\n \n </li>\n <li class="kw2_taller">\n \n <a href="#">\n <div class="icon-holder icon-library"></div>\n <span>Library</span>\n </a>\n <div class="npopover left" style="text-align: center">\n You must log in to use\n <br />\n this feature.\n </div>\n \n </li>\n <li class="kw2_taller">\n \n <a href="#">\n <div class="icon-holder icon-account"></div>\n <span>My Account</span>\n </a>\n <div class="npopover left">\n <div class="button">\n <a href="/accounts/signup/">Create account</a>\n </div>\n <hr />\n <div class="link">\n <a href="/accounts/login/">\n Sign In\n </a>\n </div>\n <div class="link">\n <a href="/accounts/facebook/login/">\n Facebook Connect\n </a>\n </div>\n </div>\n \n </li>\n </ul>\n</div>\n\n\n', u'\n <div class="kw2_content-body" id="kw2_content-body">\n\n <div id="kw2_content-body-container">\n ', u'\n', u'\n\n <div id="kw2_content-body-inner">\n <div id="kw2_right-sidebar">\n '] |
self | [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]> |
self | [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7d810> |
block | <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
self | <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]> |
/var/sites/phoenix/app/.venv/local/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 | <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0> |
bit | u'\n ' |
bits | [u'\n '] |
self | [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0> |
self | [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
if settings.TEMPLATE_DEBUG:
raise
self.template = None
def render(self, context):
if not self.template:
return ''
return self.render_template(self.template, context)...
class IncludeNode(BaseIncludeNode):
def __init__(self, template_name, *args, **kwargs):
super(IncludeNode, self).__init__(*args, **kwargs)
self.template_name = template_name
Variable | Value |
---|---|
self | <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render_template
def render_template(self, template, context):
values = dict([(name, var.resolve(context)) for name, var
in six.iteritems(self.extra_context)])
if self.isolated_context:
return template.render(context.new(values))
context.update(values)
output = template.render(context)...
context.pop()
return output
class ConstantIncludeNode(BaseIncludeNode):
def __init__(self, template_path, *args, **kwargs):
super(ConstantIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
self | <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0> |
values | {} |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
template | <django.template.base.Template object at 0x332a1d0> |
/var/sites/phoenix/app/.venv/local/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 0x332a1d0> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 0x332a1d0> |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'\n\n' |
bits | [u'', u'\n', u'', u'\n\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x47a0b10>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x43fcb10>, <Text Node: ' '>, <IfNode>, <Text Node: ' <br /> <br /> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x51c50d0>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x47a0b10>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x43fcb10>, <Text Node: ' '>, <IfNode>, <Text Node: ' <br /> <br /> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x51c50d0>, <Text Node: ' '>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
self.target, self.expression = target, expression
Variable | Value |
---|---|
self | <IfNode> |
match | <Profile: Aurawomen> |
nodelist | [<Text Node: ' <br/> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="kw2_right-si'>, <Variable Node: profile.get_absolute_url>, <Text Node: '"> '>, <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710>, <Text Node: ' </a> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <Variable Node: profile.num_likes>, <Text Node: '</dd> <dt>Followe'>, <Variable Node: profile.num_followers>, <Text Node: '</dd> <dt>Directo'>, <Variable Node: profile.category.get_absolute_url>, <Text Node: '">'>, <Variable Node: profile.category.name>, <Text Node: '</a></dd> </dl> '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <For Node: for tag in profile.expertise.all, tail_len: 5>, <Text Node: ' </div> <div class="clear'>] |
condition | (literal <django.template.base.FilterExpression object at 0x47a0f10>) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710> |
bit | u'">\n ' |
bits | [u'\n\n<br/>\n\n', u'', u'\n\n\n', u'', u'\n<div class="kw2_right-sidebar-content">\n <a href="', u'/provider/profile/5792/aurawomen/', u'">\n '] |
self | [<Text Node: ' <br/> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="kw2_right-si'>, <Variable Node: profile.get_absolute_url>, <Text Node: '"> '>, <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710>, <Text Node: ' </a> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <Variable Node: profile.num_likes>, <Text Node: '</dd> <dt>Followe'>, <Variable Node: profile.num_followers>, <Text Node: '</dd> <dt>Directo'>, <Variable Node: profile.category.get_absolute_url>, <Text Node: '">'>, <Variable Node: profile.category.name>, <Text Node: '</a></dd> </dl> '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <For Node: for tag in profile.expertise.all, tail_len: 5>, <Text Node: ' </div> <div class="clear'>] |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/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 | <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710> |
self | [<Text Node: ' <br/> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class="kw2_right-si'>, <Variable Node: profile.get_absolute_url>, <Text Node: '"> '>, <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710>, <Text Node: ' </a> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <Variable Node: profile.num_likes>, <Text Node: '</dd> <dt>Followe'>, <Variable Node: profile.num_followers>, <Text Node: '</dd> <dt>Directo'>, <Variable Node: profile.category.get_absolute_url>, <Text Node: '">'>, <Variable Node: profile.category.name>, <Text Node: '</a></dd> </dl> '>, <IfNode>, <Text Node: ' </div> <div class="clear'>, <For Node: for tag in profile.expertise.all, tail_len: 5>, <Text Node: ' </div> <div class="clear'>] |
e | MissingSource("The spec '<imagekit.generatorlibrary.Thumbnail object at 0x10eb1850>' has no source file associated with it.",) |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/templatetags/imagekit.py
in render
attrs = dict((k, v.resolve(context)) for k, v in
self._html_attrs.items())
# Only add width and height if neither is specified (to allow for
# proportional in-browser scaling).
if not 'width' in attrs and not 'height' in attrs:
attrs.update(width=file.width, height=file.height)...
attrs['src'] = file.url
attr_str = ' '.join('%s="%s"' % (escape(k), escape(v)) for k, v in
attrs.items())
return mark_safe(u'<img %s />' % attr_str)
Variable | Value |
---|---|
file | <ImageCacheFile: None> |
dimensions | {'height': None, 'width': 162} |
generator | <imagekit.generatorlibrary.Thumbnail object at 0x10eb1850> |
self | <imagekit.templatetags.imagekit.ThumbnailImageTagNode object at 0x43fc710> |
autodiscover | <function autodiscover at 0x26d0848> |
generator_id | 'imagekit:thumbnail' |
context | [{'False': False, 'None': None, 'True': True}, {'profile': <Profile: Aurawomen>, 'active_tab': 'bio', 'object': <Profile: Aurawomen>, u'view': <kwatsi.views.profile.ProfileDetailView object at 0x3e72090>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x12ef6550>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7d350>, 'user': <django.utils.functional.SimpleLazyObject object at 0x52fc790>}, {}, {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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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': 'en-gb'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/London'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x5bd6c50>}, {u'request': <WSGIRequest path:/provider/profile/5792/aurawomen/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'47AJXWutSeE1hNByq7SXOYETswWavdg4', 'DOCUMENT_ROOT': '/etc/nginx/html', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.healthpad.net', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/provider/profile/5792/aurawomen/', 'QUERY_STRING': '', 'REMOTE_ADDR': '18.232.169.110', 'REMOTE_PORT': '57550', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/provider/profile/5792/aurawomen/', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'zeta.kwatsi.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'zeta.kwatsi.com', 'uwsgi.version': '1.0.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x1ace420>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x12e94060>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {}, {'socialaccount': {'providers': [<allauth.socialaccount.providers.facebook.provider.FacebookProvider object at 0x318e910>]}}, {'left_sidebar_active_item': 'providers'}, {'user_profile': <django.utils.functional.SimpleLazyObject object at 0x5fad890>}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ef90>, <Text Node: ' '>, <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x719ecd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052850>, <Text Node: ' '>]>}, {'block': <Block Node: container. Contents: [<Text Node: ' <div class="kw2_cont'>, <django.template.loader_tags.ConstantIncludeNode object at 0x719e990>, <Text Node: ' <div class="kw2_'>, <Block Node: content_top. Contents: []>, <Text Node: ' <div id'>, <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5052b90>, <Text Node: ' '>]>, <Text Node: ' </di'>, <Block Node: content. Contents: []>, <Text Node: ' </di'>]>}, {'block': <Block Node: right_sidebar. Contents: [<Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x5966bd0>, <Text Node: ' '>]>}, {}] |
kwargs | {'height': None, 'source': <ImageFieldFile: None>, 'width': 162} |
attrs | {} |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/core/files/images.py
in _get_width
class ImageFile(File):
"""
A mixin for use alongside django.core.files.base.File, which provides
additional features for dealing with images.
"""
def _get_width(self):
return self._get_image_dimensions()[0]...
width = property(_get_width)
def _get_height(self):
return self._get_image_dimensions()[1]
height = property(_get_height)
Variable | Value |
---|---|
self | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/core/files/images.py
in _get_image_dimensions
def _get_height(self):
return self._get_image_dimensions()[1]
height = property(_get_height)
def _get_image_dimensions(self):
if not hasattr(self, '_dimensions_cache'):
close = self.closed
self.open()...
self._dimensions_cache = get_image_dimensions(self, close=close)
return self._dimensions_cache
def get_image_dimensions(file_or_path, close=False):
"""
Returns the (width, height) of an image, given an open file or a path. Set
Variable | Value |
---|---|
close | True |
self | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/files.py
in open
self._require_file()
if not self._committed:
return self.file.size
return self.storage.size(self.name)
size = property(_get_size)
def open(self, mode='rb'):
self._require_file()...
self.file.open(mode)
def _get_closed(self):
file = getattr(self, '_file', None)
return file is None or file.closed
closed = property(_get_closed)
Variable | Value |
---|---|
self | <ImageCacheFile: None> |
mode | 'rb' |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py
in _require_file
'cache file strategy')
)
super(ImageCacheFile, self).__init__(storage=storage)
def _require_file(self):
if getattr(self, '_file', None) is None:
content_required.send(sender=self, file=self)...
self._file = self.storage.open(self.name, 'rb')
# The ``path`` and ``url`` properties are overridden so as to not call
# ``_require_file``, which is only meant to be called when the file object
# will be directly interacted with (e.g. when using ``read()``). These only
# require the file to exist; they do not need its contents to work. This
Variable | Value |
---|---|
self | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py
in send
Returns a list of tuple pairs [(receiver, response), ... ].
"""
responses = []
if not self.receivers:
return responses
for receiver in self._live_receivers(_make_id(sender)):
response = receiver(signal=self, sender=sender, **named)...
responses.append((receiver, response))
return responses
def send_robust(self, sender, **named):
"""
Send signal from sender to all connected receivers catching errors.
Variable | Value |
---|---|
responses | [] |
self | <django.dispatch.dispatcher.Signal object at 0x2661b10> |
receiver | <bound method ?.content_required_receiver of <imagekit.registry.GeneratorRegistry object at 0x265ed90>> |
named | {'file': <ImageCacheFile: None>} |
sender | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/registry.py
in content_required_receiver
else:
return generator
def get_ids(self):
return self._generators.keys()
def content_required_receiver(self, sender, file, **kwargs):
self._receive(file, 'on_content_required')...
def existence_required_receiver(self, sender, file, **kwargs):
self._receive(file, 'on_existence_required')
def _receive(self, file, callback):
generator = file.generator
Variable | Value |
---|---|
self | <imagekit.registry.GeneratorRegistry object at 0x265ed90> |
sender | <ImageCacheFile: None> |
file | <ImageCacheFile: None> |
kwargs | {'signal': <django.dispatch.dispatcher.Signal object at 0x2661b10>} |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/registry.py
in _receive
def _receive(self, file, callback):
generator = file.generator
# FIXME: I guess this means you can't register functions?
if generator.__class__ in self._generators.values():
# Only invoke the strategy method for registered generators.
call_strategy_method(file, callback)...
class SourceGroupRegistry(object):
"""
The source group registry is responsible for listening to source_* signals
on source groups, and relaying them to the image generated file strategies
Variable | Value |
---|---|
callback | 'on_content_required' |
self | <imagekit.registry.GeneratorRegistry object at 0x265ed90> |
generator | <imagekit.generatorlibrary.Thumbnail object at 0x10eb1850> |
file | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/utils.py
in call_strategy_method
return File(content)
def call_strategy_method(file, method_name):
strategy = getattr(file, 'cachefile_strategy', None)
fn = getattr(strategy, method_name, None)
if fn is not None:
fn(file)...
def sanitize_cache_key(key):
if settings.IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY:
# Memcached keys can't contain whitespace or control characters.
new_key = bad_memcached_key_chars.sub('', key)
Variable | Value |
---|---|
method_name | 'on_content_required' |
fn | <bound method JustInTime.on_content_required of <imagekit.cachefiles.strategies.JustInTime object at 0x3664bd0>> |
file | <ImageCacheFile: None> |
strategy | <imagekit.cachefiles.strategies.StrategyWrapper object at 0x10eb14d0> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/strategies.py
in on_content_required
"""
def on_existence_required(self, file):
file.generate()
def on_content_required(self, file):
file.generate()...
class Optimistic(object):
"""
A strategy that acts immediately when the source file changes and assumes
that the cache files will not be removed (i.e. it doesn't ensure the
Variable | Value |
---|---|
self | <imagekit.cachefiles.strategies.JustInTime object at 0x3664bd0> |
file | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py
in generate
def generate(self, force=False):
"""
Generate the file. If ``force`` is ``True``, the file will be generated
whether the file already exists or not.
"""
if force or getattr(self, '_file', None) is None:
self.cachefile_backend.generate(self, force)...
def _generate(self):
# Generate the file
content = generate(self.generator)
actual_name = self.storage.save(self.name, content)
Variable | Value |
---|---|
self | <ImageCacheFile: None> |
force | False |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py
in generate
"""
The most basic file backend. The storage is consulted to see if the file
exists. Files are generated synchronously.
"""
def generate(self, file, force=False):
self.generate_now(file, force=force)...
def _exists(self, file):
return bool(getattr(file, '_file', None)
or file.storage.exists(file.name))
Variable | Value |
---|---|
self | <imagekit.cachefiles.backends.Simple object at 0x3664b50> |
force | False |
file | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py
in generate_now
return self.get_state(file) is CacheFileState.EXISTS
def generate(self, file, force=False):
raise NotImplementedError
def generate_now(self, file, force=False):
if force or self.get_state(file) is CacheFileState.DOES_NOT_EXIST:
file._generate()...
self.set_state(file, CacheFileState.EXISTS)
class Simple(CachedFileBackend):
"""
The most basic file backend. The storage is consulted to see if the file
Variable | Value |
---|---|
self | <imagekit.cachefiles.backends.Simple object at 0x3664b50> |
force | False |
file | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py
in _generate
"""
if force or getattr(self, '_file', None) is None:
self.cachefile_backend.generate(self, force)
def _generate(self):
# Generate the file
content = generate(self.generator)...
actual_name = self.storage.save(self.name, content)
# We're going to reuse the generated file, so we need to reset the pointer.
content.seek(0)
Variable | Value |
---|---|
self | <ImageCacheFile: None> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/utils.py
in generate
def generate(generator):
"""
Calls the ``generate()`` method of a generator instance, and then wraps the
result in a Django File object so Django knows how to save it.
"""
content = generator.generate()...
# If the file doesn't have a name, Django will raise an Exception while
# trying to save it, so we create a named temporary file.
if not getattr(content, 'name', None):
f = NamedTemporaryFile()
f.write(content.read())
Variable | Value |
---|---|
generator | <imagekit.generatorlibrary.Thumbnail object at 0x10eb1850> |
/var/sites/phoenix/app/.venv/local/lib/python2.7/site-packages/imagekit/specs/__init__.py
in generate
self.options,
self.autoconvert,
])
def generate(self):
if not self.source:
raise MissingSource("The spec '%s' has no source file associated"
" with it." % self)...
# TODO: Move into a generator base class
# TODO: Factor out a generate_image function so you can create a generator and only override the PIL.Image creating part. (The tricky part is how to deal with original_format since generator base class won't have one.)
try:
img = open_image(self.source)
except ValueError:
Variable | Value |
---|---|
self | <imagekit.generatorlibrary.Thumbnail object at 0x10eb1850> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/provider/profile/5792/aurawomen/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'zeta.kwatsi.com' |
REMOTE_ADDR | '18.232.169.110' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'zeta.kwatsi.com' |
DOCUMENT_ROOT | '/etc/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x12e94060> |
HTTP_HOST | 'www.healthpad.net' |
wsgi.multithread | False |
REQUEST_URI | '/provider/profile/5792/aurawomen/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x1ace420> |
REMOTE_PORT | '57550' |
uwsgi.version | '1.0.3-debian' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'47AJXWutSeE1hNByq7SXOYETswWavdg4' |
phoenix.settings
Setting | Value |
---|---|
GRAPPELLI_INDEX_DASHBOARD | 'kwatsi.admin_dashboard.CustomIndexDashboard' |
SERVER_EMAIL | 'root@localhost' |
USE_L10N | True |
IMAGEKIT_CACHEFILE_DIR | 'CACHE/images' |
USE_THOUSAND_SEPARATOR | False |
ACCOUNT_AUTHENTICATION_METHOD | 'username_email' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-gb' |
ROOT_URLCONF | 'phoenix.urls' |
MANAGERS | (('Tudor Prodan', 'tudor.prodan@gmail.com'),) |
DEFAULT_CHARSET | 'utf-8' |
ACCOUNT_EMAIL_REQUIRED | True |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | u'********************' |
LANDING_PAGE_VIDEO_IDS | {1: 2196, 2: 2197, 3: 2124, 4: 2195, 5: 2126, 6: 2127} |
LANDING_PAGE_PUBLICATION_ID | 4293 |
ALLOWED_HOSTS | ['.healthpad.net', '.healthpad.co.uk', '.healthpad.us'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
MAIN_LIST_ITEMS_PER_PAGE | 10 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'phoenix', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': 'phoenix'}} |
TEMPLATE_DEBUG | True |
COMMENT_LIST_ITEMS_PER_PAGE | 5 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'allauth.account.context_processors.account', 'allauth.socialaccount.context_processors.socialaccount', 'kwatsi.context_processors.menubar.menubar_active_item', 'kwatsi.context_processors.account.account') |
DEFAULT_CONTENT_TYPE | 'text/html' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
ACCOUNT_EMAIL_VERIFICATION | False |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
STRIPE | {'publishable_key': 'pk_test_BBnqktOnYa9PxzsBuwqf3CDx', 'secret_key': 'sk_test_Gb6eXndANIg1lFobgUTLWVUA'} |
IMAGEKIT_CACHE_BACKEND | 'django.core.cache.backends.dummy.DummyCache' |
SESSION_COOKIE_PATH | '/' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'kwatsi.middleware.UserProfileMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'phoenix.wsgi.application' |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'URL': 'http://localhost:8080/solr/phoenix'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'grappelli.dashboard', 'grappelli', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.flatpages', 'south', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'django_extensions', 'crispy_forms', 'imagekit', 'djcelery', 'haystack', 'rj_templates', 'kwatsi') |
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'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('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')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATIC_ROOT | '/var/sites/phoenix/app/static' |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
ACCOUNT_USERNAME_REQUIRED | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
RAVEN_CONFIG | {'dsn': 'https://99898f7a1c0a4c0fb7894b101a44f0cf:7bdee8add7b045fc9ffca8040a3e9999@app.getsentry.com/9816'} |
TIME_FORMAT | 'P' |
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') |
ACCOUNT_LOGOUT_REDIRECT_URL | '/dashboard/' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend') |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/dashboard/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
SOCIALACCOUNT_AUTO_SIGNUP | False |
MEDIA_ROOT | '/var/sites/phoenix/app/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Tudor Prodan', 'tudor.prodan@gmail.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'info@healthpad.net' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/var/sites/phoenix/app/templates', '/var/sites/phoenix/app/kwatsi/templates') |
HAYSTACK_SEARCH_RESULTS_PER_PAGE | 10 |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/London' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
DEFAULT_TABLESPACE | '' |
CRISPY_TEMPLATE_PACK | 'bootstrap' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'phoenix.settings' |
USE_ETAGS | False |
SITE_ROOT | '/var/sites/phoenix/app' |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
HAYSTACK_SIGNAL_PROCESSOR | 'kwatsi.search_indexes.KwatsiRealtimeSignalProcessor' |
FFMPEG_BIN_PATH | '/var/sites/phoenix/bin' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
CELERY_RESULT_BACKEND | 'database' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
CACHE_MIDDLEWARE_SECONDS | 600 |
DEBUG_TOOLBAR_CONFIG | {'INTERCEPT_REDIRECTS': 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.