'ascii' codec can't encode character u'\u201c' in position 5: ordinal not in range(128)
Request Method: | GET |
---|---|
Request URL: | https://www.parting.com/funeral-home/OR/hubbard/hubbard-chapel-97032/?h=1&burial=true&wake=false&service=false |
Django Version: | 1.11.7 |
Exception Type: | UnicodeEncodeError |
Exception Value: | 'ascii' codec can't encode character u'\u201c' in position 5: ordinal not in range(128) |
Exception Location: | /app/apps/businesses/models.py in short_display, line 493 |
Python Executable: | /usr/local/bin/python |
Python Version: | 2.7.18 |
Python Path: | ['/app', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/app'] |
Server time: | Thu, 28 Mar 2024 23:57:48 -0700 |
The string that could not be encoded/decoded was: 2934 “H” St
In template /app/core/templates/base.html
, error at line 0
1 | {% load parting_tags static %} |
---|---|
2 | |
3 | <!DOCTYPE html> |
4 | <html lang="en"> |
5 | <head> |
6 | {% block very_top %}{% endblock %} |
7 | |
8 | <meta charset="UTF-8"> |
9 | <title>{% block title %}{% endblock %}</title> |
10 | <meta name="keywords" content="{% block meta_keywords %}{% endblock %}"> |
/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7ff8259111d0>> |
request | <WSGIRequest: GET '/funeral-home/OR/hubbard/hubbard-chapel-97032/?h=1&burial=true&wake=false&service=false'> |
/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function BusinessesView at 0x7ff805830ad0> |
callback_args | () |
callback_kwargs | {'business': u'hubbard-chapel-97032', 'city': u'hubbard', 'state': u'OR'} |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7ff81fa78950>> |
request | <WSGIRequest: GET '/funeral-home/OR/hubbard/hubbard-chapel-97032/?h=1&burial=true&wake=false&service=false'> |
resolver | <RegexURLResolver 'config.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.businesses.views.BusinessesView, args=(), kwargs={'city': u'hubbard', 'state': u'OR', 'business': u'hubbard-chapel-97032'}, url_name=businesses-business, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ff8259111d0> |
wrapped_callback | <function BusinessesView at 0x7ff805830ad0> |
/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function BusinessesView at 0x7ff805830ad0> |
callback_args | () |
callback_kwargs | {'business': u'hubbard-chapel-97032', 'city': u'hubbard', 'state': u'OR'} |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7ff81fa78950>> |
request | <WSGIRequest: GET '/funeral-home/OR/hubbard/hubbard-chapel-97032/?h=1&burial=true&wake=false&service=false'> |
resolver | <RegexURLResolver 'config.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.businesses.views.BusinessesView, args=(), kwargs={'city': u'hubbard', 'state': u'OR', 'business': u'hubbard-chapel-97032'}, url_name=businesses-business, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ff8259111d0> |
wrapped_callback | <function BusinessesView at 0x7ff805830ad0> |
/usr/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 |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/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, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'burial': 'true', 'burial_name': 'Burial', 'business': <Business: Hubbard Chapel>, 'city': u'hubbard', 'critical_css': 'facility.css', 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'list_url': u'/funeral-home/OR/hubbard/', 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Direct Burial", "services": [{"included": false, "price": 2110.0, "extended": false, "id": 155, "title": "Direct Burial"}], "total": 2110.0, "has_extended_services": false, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Cremation Memorial without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"... <trimmed 6460 bytes string> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7ff78ff89910> |
/usr/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
request | <WSGIRequest: GET '/funeral-home/OR/hubbard/hubbard-chapel-97032/?h=1&burial=true&wake=false&service=false'> |
self | <django.template.backends.django.Template object at 0x7ff78ff89910> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
self | <django.template.base.Template object at 0x7ff7e2f5c210> |
/usr/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
class _TestState(object):
pass
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
self | <django.template.base.Template object at 0x7ff7e2f5c210> |
/usr/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
self | <ExtendsNode: extends "base.html"> |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7ff804b80b90> |
blocks | {u'about_link_class': <Block Node: about_link_class. Contents: []>, u'blog_link_class': <Block Node: blog_link_class. Contents: []>, u'body_class_name': <Block Node: body_class_name. Contents: []>, u'canonical': <Block Node: canonical. Contents: []>, u'content': <Block Node: content. Contents: []>, u'description': <Block Node: description. Contents: []>, u'facebook': <Block Node: facebook. Contents: []>, u'faq_link_class': <Block Node: faq_link_class. Contents: []>, u'footer': <Block Node: footer. Contents: [<TextNode: u'\n <div class="footer">'>, <Block Node: footer_inner. Contents: []>, <TextNode: u'\n\n '>, <Block Node: footer_states. Contents: [<TextNode: u'\n <div cla'>]>, <TextNode: u'\n\n <sub cl'>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4a10>, <TextNode: u'">Privacy</a>\n '>]>, u'footer_inner': <Block Node: footer_inner. Contents: []>, u'footer_scripts': <Block Node: footer_scripts. Contents: [<TextNode: u'\n <script>\n fun'>, <IfNode>, <TextNode: u'libraries=places&callback'>, <IfNode>, <TextNode: u'\n'>]>, u'footer_states': <Block Node: footer_states. Contents: [<TextNode: u'\n <div cla'>]>, u'header': <Block Node: header. Contents: [<TextNode: u'\n <div class="header">'>, <django.templatetags.static.StaticNode object at 0x7ff7fef93050>, <TextNode: u'?v=1" alt=""/></a>\n '>, <Block Node: header_search. Contents: [<TextNode: u'\n <div cla'>, <django.template.defaulttags.SpacelessNode object at 0x7ff79558f190>, <TextNode: u'"\n '>]>, <TextNode: u'\n '>, <Block Node: header_links. Contents: [<TextNode: u'\n <div cla'>, <TextNode: u'\n\n <ul'>, <IfNode>, <TextNode: u' hidden-xs">\n '>, <Block Node: blog_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4e10>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d40d0>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4850>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4650>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4f10>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4450>, <TextNode: u'">About Us</a></li>\n<!-- '>]>, <TextNode: u'\n\n </div>\n '>]>, u'header_css': <Block Node: header_css. Contents: [<TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>]>, u'header_links': <Block Node: header_links. Contents: [<TextNode: u'\n <div cla'>, <TextNode: u'\n\n <ul'>, <IfNode>, <TextNode: u' hidden-xs">\n '>, <Block Node: blog_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4e10>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d40d0>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4850>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4650>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4f10>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4450>, <TextNode: u'">About Us</a></li>\n<!-- '>]>, u'header_search': <Block Node: header_search. Contents: [<TextNode: u'\n ... <trimmed 4491 bytes string> |
compiled_parent | <django.template.base.Template object at 0x7ff7fe9d2a10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7ff7e12c79d0> |
self | <ExtendsNode: extends "base.html"> |
/usr/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
class _TestState(object):
pass
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
self | <django.template.base.Template object at 0x7ff7fe9d2a10> |
/usr/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n<!--sse-->\n' |
bits | [u'', u'\n\n<!DOCTYPE html>\n<html lang="en">\n<head>\n ', u'\n\n<script async src="//44610.tctm.co/t.js"></script>\n', u'\n\n <meta charset="UTF-8">\n <title>', u'Hubbard Chapel - Hubbard, OR | Parting', u'</title>\n <meta name="keywords" content="', u'', u'">\n <meta name="description" content="', u'See prices, photographs, and reviews of Hubbard Chapel at 2934 \u201cH\u201d Street, Hubbard, Oregon, 97032 on Parting', u'">\n <link rel="shortcut icon" href="', u'/static/icon/favicon.ico', u'" />\n\n ', u'\n \n <style id="critical_css">\n [role=button],button{cursor:pointer}h5,h6,ul{margin-bottom:10px}.col-xs-6,.dropdown-menu,.nav-pills>li{float:left}*,.slick-slider,input[type=checkbox],input[type=radio]{box-sizing:border-box}.container::after,.icon-addon::after,.nav::after,.row::after,.slick-track::after{clear:both}img{border:0}body{margin:0;line-height:1.42857143}.btn,.slick-slider{-webkit-user-select:none}.slick-slider,html{-webkit-tap-highlight-color:transparent}html{font-family:sans-serif;font-size:10px}button,h1,h5,h6,input{font-family:inherit;color:inherit}a{background-color:transparent}strong{font-weight:700}h1{margin:20px 0 10px}.btn,img{vertical-align:middle}button,input{margin:0;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:inherit}button{overflow:visible;text-transform:none;-webkit-appearance:button}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}table{border-spacing:0;border-collapse:collapse}td{padding:0}@media print{img,tr{page-break-inside:avoid}*{color:#000!important;text-shadow:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;background-position:0 0!important;background-repeat:initial initial!important}a{text-decoration:underline}a[href]::after{content:' (',attr(href),')'}a[href^="#"]::after{content:''}img{max-width:100%!important}p{orphans:3;widows:3}.table{border-collapse:collapse!important}.table td{background-color:#fff!important}}.slick-next,.slick-prev,button.close{background-position:0 0;background-repeat:initial initial}.table,label{max-width:100%}.dropdown-menu,.modal-content{-webkit-background-clip:padding-box}.btn,.form-control{background-image:none}h1,h5,h6{font-weight:500;line-height:1.1}h5,h6{margin-top:10px}h6{font-size:12px}small{font-size:85%}table{background-color:transparent}ul{margin-top:0}ul ul{margin-bottom:0}@media (min-width:768px){.container{width:750px}}code{padding:2px 4px;font-size:90%;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.btn-default,.dropdown-menu,.header,.modal-content,.panel{background-color:#fff}.container{margin-right:auto;margin-left:auto;padding-right:15px;padding-left:15px}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-6{width:50%}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-6{width:50%}.col-sm-4{width:33.33333333%}}label{display:inline-block;margin-bottom:5px}input[type=checkbox],input[type=radio]{margin:4px 0 0;line-height:normal}.btn,.dropdown-menu>li>a,.form-control{line-height:1.42857143}.form-control{display:block;width:100%;height:34px;padding:6px 12px;-webkit-box-shadow:rgba(0,0,0,.0... <trimmed 45786 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
node | <Block Node: content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7ff7e12c79d0>, <TextNode: u'\n\n<!DOCTYPE html>\n<html l'>, <Block Node: very_top. Contents: []>, <TextNode: u'\n\n <meta charset="UTF-'>, <Block Node: title. Contents: []>, <TextNode: u'</title>\n <meta name="'>, <Block Node: meta_keywords. Contents: []>, <TextNode: u'">\n <meta name="descri'>, <Block Node: description. Contents: []>, <TextNode: u'">\n <link rel="shortcu'>, <django.templatetags.static.StaticNode object at 0x7ff7e12c7090>, <TextNode: u'" />\n\n '>, <Block Node: header_css. Contents: [<TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>]>, <TextNode: u'\n\n '>, <Block Node: canonical. Contents: []>, <TextNode: u'\n '>, <Block Node: facebook. Contents: []>, <TextNode: u'\n <link href="https://'>, <IfNode>, <TextNode: u'\n\n <script>\n va'>, <IfNode>, <TextNode: u'";\n var MOBILE_VIE'>, <Variable Node: TOP_CITIES_CACHE_TTL>, <TextNode: u';\n var screen_tabl'>, <django.template.loader_tags.IncludeNode object at 0x7ff7b6167a50>, <TextNode: u'\n\n '>, <IfNode>, <TextNode: u'\n\n '>, <IfNode>, <TextNode: u'\n</head>\n<body class="'>, <Block Node: body_class_name. Contents: []>, <TextNode: u'">\n\n\n'>, <Block Node: header. Contents: [<TextNode: u'\n <div class="header">'>, <django.templatetags.static.StaticNode object at 0x7ff7fef93050>, <TextNode: u'?v=1" alt=""/></a>\n '>, <Block Node: header_search. Contents: [<TextNode: u'\n <div cla'>, <django.template.defaulttags.SpacelessNode object at 0x7ff79558f190>, <TextNode: u'"\n '>]>, <TextNode: u'\n '>, <Block Node: header_links. Contents: [<TextNode: u'\n <div cla'>, <TextNode: u'\n\n <ul'>, <IfNode>, <TextNode: u' hidden-xs">\n '>, <Block Node: blog_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4e10>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d40d0>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4850>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4650>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4f10>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4450>, <TextNode: u'">About Us</a></li>\n<!-- '>]>, <TextNode: u'\n\n </div>\n '>]>, <TextNode: u'\n\n<!--sse-->\n'>, <Block Node: content. Contents: []>, <TextNode: u'\n<!--/sse-->\n\n'>, <Block Node: footer. Contents: [<TextNode: u'\n <div class="footer">'>, <Block Node: footer_inner. Contents: []>, <TextNode: u'\n\n '>, <Block Node: footer_states. Contents: [<TextNode: u'\n <div cla'>]>, <TextNode: u'\n\n <sub cl'>, <django.template.defaulttags.URLNode object at 0x7ff7bc0d4a10>, <TextNode: u'">Privacy</a>\n '>]>, <TextNode: u'\n\n'>, <Block Node: footer_scripts. Contents: [<TextNode: u'\n <script>\n fun'>, <IfNode>, <TextNode: u'libraries=places&callback'>, <IfNode>, <TextNode: u'\n'>]>, <TextNode: u'\n\n'>, <Block Node: thirdparty. Contents: [<TextNode: u'\n '>, <IfNode>, <TextNode: u'\n'>]>, <TextNode: u'\n\n</body>\n</html>\n'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
self | <Block Node: content. Contents: []> |
/usr/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 = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: u'\n <div class="funeralh'>, <IfNode>, <TextNode: u'\n <link class="hid'>, <Variable Node: business.get_absolute_url>, <TextNode: u'" />\n <div class="'>, <Variable Node: business.address.address>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.city>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.state_province_region>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.zip_postal_code>, <TextNode: u'</span>\n </div>\n '>, <IfNode>, <TextNode: u'\n <div class="cont'>, <IfNode>, <TextNode: u'\n\n <div class='>, <Variable Node: business.title>, <TextNode: u'</h1>\n '>, <IfNode>, <TextNode: u'\n <div'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: business.display_address | safe>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'">\n '>, <django.templatetags.static.StaticNode object at 0x7ff80450b250>, <TextNode: u'"\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918650>, <TextNode: u'\n </div>\n\n'>, <IfNode>, <TextNode: u'\n </di'>, <django.template.defaulttags.CommentNode object at 0x7ff7ff4637d0>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918090>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918490>, <TextNode: u'\n\n <di'>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918d90>, <TextNode: u'\n\n <di'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: reviews | length>, <TextNode: u' Reviews</span>\n '>, <Variable Node: business.avg_review_queried>, <TextNode: u'"/>\n '>, <IfNode>, <TextNode: u'\n '>, <For Node: for review in reviews, tail_len: 5>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff80403c490>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b61b4b50>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff78f1eb850>, <TextNode: u'\n </div>\n\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7ff804b80b90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
push | <Block Node: content. Contents: [<TextNode: u'\n <div class="funeralh'>, <IfNode>, <TextNode: u'\n <link class="hid'>, <Variable Node: business.get_absolute_url>, <TextNode: u'" />\n <div class="'>, <Variable Node: business.address.address>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.city>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.state_province_region>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.zip_postal_code>, <TextNode: u'</span>\n </div>\n '>, <IfNode>, <TextNode: u'\n <div class="cont'>, <IfNode>, <TextNode: u'\n\n <div class='>, <Variable Node: business.title>, <TextNode: u'</h1>\n '>, <IfNode>, <TextNode: u'\n <div'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: business.display_address | safe>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'">\n '>, <django.templatetags.static.StaticNode object at 0x7ff80450b250>, <TextNode: u'"\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918650>, <TextNode: u'\n </div>\n\n'>, <IfNode>, <TextNode: u'\n </di'>, <django.template.defaulttags.CommentNode object at 0x7ff7ff4637d0>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918090>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918490>, <TextNode: u'\n\n <di'>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918d90>, <TextNode: u'\n\n <di'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: reviews | length>, <TextNode: u' Reviews</span>\n '>, <Variable Node: business.avg_review_queried>, <TextNode: u'"/>\n '>, <IfNode>, <TextNode: u'\n '>, <For Node: for review in reviews, tail_len: 5>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff80403c490>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b61b4b50>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff78f1eb850>, <TextNode: u'\n </div>\n\n'>]> |
self | <Block Node: content. Contents: []> |
/usr/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n <div>\n ' |
bits | [u'\n <div class="funeralhome" itemscope itemtype="http://schema.org/LocalBusiness">\n ', u'\n <div class="unverified">\n This listing is unverified. If this is your funeral home, please <a class="claim-link" href="http://funeralhome.parting.com/">verify your business</a>\n </div>\n ', u'\n <link class="hidden" itemprop="url" href="', u'/funeral-home/OR/hubbard/hubbard-chapel-97032/', u'" />\n <div class="hidden" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">\n <span itemprop=\'streetAddress\'>', u'2934 \u201cH\u201d Street', u"</span>\n <span itemprop='addressLocality'>", u'Hubbard', u"</span>\n <span itemprop='addressRegion'>", u'OR', u"</span>\n <span itemprop='postalCode'>", u'97032', u'</span>\n </div>\n ', u'', u'\n <div class="container">\n ', u'\n <div class="row">\n <div class="col-sm-12">\n <a href="/funeral-home/OR/hubbard/" class="btn btn-secondary btn-back"><i class="fa fa-angle-left"></i> Back to Hubbard, OR Results</a>\n </div>\n </div>\n ', u'\n\n <div class="row">\n <div class="main-col">\n <div class="title-block">\n <h1 class="business_title">', u'Hubbard Chapel', u'</h1>\n </div>\n\n ', u'', u'\n <div class="row">\n <div class="col-sm-6 rating-container">\n ', u'', u'\n <div>\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
node | <Variable Node: business.display_address | safe> |
self | [<TextNode: u'\n <div class="funeralh'>, <IfNode>, <TextNode: u'\n <link class="hid'>, <Variable Node: business.get_absolute_url>, <TextNode: u'" />\n <div class="'>, <Variable Node: business.address.address>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.city>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.state_province_region>, <TextNode: u'</span>\n <span'>, <Variable Node: business.address.zip_postal_code>, <TextNode: u'</span>\n </div>\n '>, <IfNode>, <TextNode: u'\n <div class="cont'>, <IfNode>, <TextNode: u'\n\n <div class='>, <Variable Node: business.title>, <TextNode: u'</h1>\n '>, <IfNode>, <TextNode: u'\n <div'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: business.display_address | safe>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'">\n '>, <django.templatetags.static.StaticNode object at 0x7ff80450b250>, <TextNode: u'"\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918650>, <TextNode: u'\n </div>\n\n'>, <IfNode>, <TextNode: u'\n </di'>, <django.template.defaulttags.CommentNode object at 0x7ff7ff4637d0>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918090>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918490>, <TextNode: u'\n\n <di'>, <django.template.loader_tags.IncludeNode object at 0x7ff7b5918d90>, <TextNode: u'\n\n <di'>, <IfNode>, <TextNode: u'\n '>, <Variable Node: reviews | length>, <TextNode: u' Reviews</span>\n '>, <Variable Node: business.avg_review_queried>, <TextNode: u'"/>\n '>, <IfNode>, <TextNode: u'\n '>, <For Node: for review in reviews, tail_len: 5>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff80403c490>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7b61b4b50>, <TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff78f1eb850>, <TextNode: u'\n </div>\n\n'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
self | <Variable Node: business.display_address | safe> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
self | <Variable Node: business.display_address | safe> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x7ff7feaa4d10> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
self | <Variable: u'business.display_address'> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)...
except (TypeError, AttributeError):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]
Variable | Value |
---|---|
bit | u'display_address' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'burial': 'true', 'reviews_page_size': 4, 'form': <ReviewForm bound=False, valid=Unknown, fields=(first_name;last_name;text;business_id;rating)>, 'service_name': 'No Service', 'search_box_text': 'Hubbard, OR', 'burial_name': 'Burial', 'services': <QuerySet [<BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>, <BusinessService: BusinessService object>]>, 'maps_api_key': 'AIzaSyDYq3a4M317olXF38hJiBMyYHRv7RuSRrQ', 'city': u'hubbard', 'packages': '[{"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5440.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral without Service", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 220.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5030.0, "has_extended_services": true, "has_service": false, "has_non_extended_services": true}, {"discount": 0, "has_burial": true, "has_viewing": false, "is_body_donation": false, "title": "Traditional Funeral without Viewing", "services": [{"included": false, "price": 1510.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 410.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 325.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 325.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Casket"}, {"included": false, "price": 1000.0, "extended": true, "id": 159, "title": "Outer Burial Container"}, {"included": false, "price": 150.0, "extended": true, "id": 160, "title": "Dressing and Casketing"}], "total": 5220.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, {"discount": 0, "has_burial": false, "has_viewing": false, "is_body_donation": false, "title": "Direct Cremation", "services": [], "has_extended_services": false, "has_service": false, "has_non_extended_services": false}, {"discount": 0,... <trimmed 6497 bytes string> |
current | <Business: Hubbard Chapel> |
e | UnicodeEncodeError('ascii', u'2934 \u201cH\u201d Street, Hubbard, OR', 5, 6, 'ordinal not in range(128)') |
self | <Variable: u'business.display_address'> |
template_name | 'businesses/funeralhome.html' |
/usr/local/lib/python2.7/site-packages/django/utils/functional.py
in __get__
self.func = func
self.__doc__ = getattr(func, '__doc__')
self.name = name or func.__name__
def __get__(self, instance, cls=None):
if instance is None:
return self
res = instance.__dict__[self.name] = self.func(instance)...
return res
class Promise(object):
"""
This is just a base class for the proxy class created in
Variable | Value |
---|---|
cls | <class 'apps.businesses.models.Business'> |
instance | <Business: Hubbard Chapel> |
self | <django.utils.functional.cached_property object at 0x7ff807872d50> |
/app/apps/businesses/models.py
in display_address
@cached_property
def display_address(self):
if self.address_display_override:
return self.address_display_override
elif self.address.state_wide:
return 'Serving the entire state of {}'.format(states[self.address.state_province_region])
else:
return '<a href="{}" target="_blank">{}</a>'.format(self.gmap_directions, self.address.short_display)...
def to_json(self, as_dict=False):
data = {
'id': self.id,
'location': {
Variable | Value |
---|---|
self | <Business: Hubbard Chapel> |
/app/apps/businesses/models.py
in short_display
business_dupes.append(item.business.pk)
unique_list.append(item)
return unique_list
@property
def short_display(self):
return "{0} {1}".format(", ".join(filter(None,[self.address, self.address2, self.city, self.state_province_region])), self.zip_postal_code)...
@property
def slugify_city(self):
return slugify(self.city)
@property
Variable | Value |
---|---|
self | <Address: Address object> |
AnonymousUser
Variable | Value |
---|---|
h | u'1' |
wake | u'false' |
service | u'false' |
burial | u'true' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
AMPLITUDE_API_KEY | '5794d0412e27117117aa62108fc9bb48' |
AWS_ACCESS_KEY_ID | 'AKIAIOZFJ4PEC46MT6BQ' |
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI | '/v2/credentials/4421f177-244b-4f1d-9cb4-f66956ea6397' |
AWS_EXECUTION_ENV | 'AWS_ECS_EC2' |
AWS_SECRET_ACCESS_KEY | 'qX+zo1Pj3HV6/ieTYridzYosySJ8AAxVdhzGmxqH' |
CONTENT_LENGTH | '' |
CONTENT_TYPE | 'text/plain' |
CSRF_COOKIE | u'y0mVskBt37XgqTcj2uuXGjvQzoebu6JqMPe0p6vYMP9LtpHINy0lx0h3VdEG5Y0A' |
CSRF_COOKIE_USED | True |
DATABASE_URL | 'postgres://postgres:TP8IOByrv66B4E5BlXha@parting-pro-django-prod.ce5fofamgrp3.us-east-1.rds.amazonaws.com:5432/parting_pro_django' |
DJANGO_SETTINGS_MODULE | 'config.settings.local' |
ECS_CONTAINER_METADATA_URI | 'http://169.254.170.2/v3/d16c30b0-d33e-44b8-9838-17d3ec39099e' |
ECS_CONTAINER_METADATA_URI_V4 | 'http://169.254.170.2/v4/d16c30b0-d33e-44b8-9838-17d3ec39099e' |
FACEBOOK_PIXEL_ID | '483324035200969' |
GATEWAY_INTERFACE | 'CGI/1.1' |
GPG_KEY | 'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF' |
HEROKU_POSTGRESQL_COBALT_URL | 'postgres://u6940e101tqsa:paa45f217183d2408f5dd7ac9ff273a5c3271e251bb233a9ce7b1aaa69dd7bccf@ec2-52-206-53-144.compute-1.amazonaws.com:5432/dcl62kthoedkk9' |
HOME | '/root' |
HOSTNAME | 'ip-172-31-105-143.ec2.internal' |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '54.163.218.81' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bdf7c3de652426-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'www.parting.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_AMZN_TRACE_ID | 'Root=1-6606666c-1bd9285e3df5731b5e0e8612' |
HTTP_X_FORWARDED_FOR | '54.163.218.81, 172.71.223.33' |
HTTP_X_FORWARDED_PORT | '80' |
HTTP_X_FORWARDED_PROTO | 'http' |
LANG | 'C.UTF-8' |
LEAD_RECIPIENT_EMAIL | '[email protected]' |
LOADERIO_API_KEY | 'aaa29ad7c1f4224b13fb23e2cefc4459' |
LOAD_THIRD_PARTY_SERVICES | 'True' |
MIXPANEL_TOKEN | '3d7b657577620aae6a2516b10f0dd749' |
OPENREDIS_URL | 'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379' |
PATH | '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
PATH_INFO | u'/funeral-home/OR/hubbard/hubbard-chapel-97032/' |
PIPEDRIVE_API_KEY | 'f3d02c9cd8415cfbcc600ed22ad71f59aa2fb8e2' |
PYTHONIOENCODING | 'UTF-8' |
PYTHON_GET_PIP_SHA256 | '421ac1d44c0cf9730a088e337867d974b91bdce4ea2636099275071878cc189e' |
PYTHON_GET_PIP_URL | 'https://github.com/pypa/get-pip/raw/d59197a3c169cef378a22428a3fa99d33e080a5d/get-pip.py' |
PYTHON_PIP_VERSION | '20.0.2' |
PYTHON_VERSION | '2.7.18' |
QUERY_STRING | 'h=1&burial=true&wake=false&service=false' |
REMOTE_ADDR | '172.31.64.214' |
REMOTE_HOST | '' |
REQUEST_METHOD | 'GET' |
RUN_MAIN | 'true' |
SCRIPT_NAME | u'' |
SENDGRID_PASSWORD | 'ydk9pvi24411' |
SENDGRID_USERNAME | '[email protected]' |
SENTRY_DSN | 'https://4958f51958ca4f3f88e16cb278595c07:[email protected]/139064' |
SERVER_NAME | 'ip-172-31-105-143.ec2.internal' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.18' |
TZ | 'US/Pacific' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7ff82896e270> |
wsgi.file_wrapper | '' |
wsgi.input | <socket._fileobject object at 0x7ff7c8178c50> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
config.settings.local
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ADMIN_MENU_ORDER | (('Content', ('pages.Page', 'blog.BlogPost', 'blog.BlogCategory', 'generic.ThreadedComment', ('Media Library', 'fb_browse'))), ('Site', ('sites.Site', 'redirects.Redirect', 'conf.Setting')), ('Users', ('auth.User', 'auth.Group'))) |
AKISMET_API_KEY | u'********************' |
ALLOWED_HOSTS | ['*'] |
AMPLITUDE_API_KEY | u'********************' |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('mezzanine.core.auth_backends.MezzanineBackend',) |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'users.User' |
AWS_HEADERS | {'Cache-Control': 'max-age=8640000'} |
AWS_PRELOAD_METADATA | True |
AWS_QUERYSTRING_AUTH | False |
AWS_S3_USE_SSL | True |
AWS_STORAGE_BUCKET_NAME | 'parting' |
AWS_UPLOAD_BUCKET_NAME | 'parting' |
AWS_UPLOAD_CLIENT_KEY | u'********************' |
AWS_UPLOAD_CLIENT_SECRET_KEY | u'********************' |
BASE_DIR | '/app' |
BLOG_LANDING_CATEGORY_NUM_POSTS | 5 |
BLOG_POST_PER_PAGE | 8 |
BLOG_USE_FEATURED_IMAGE | True |
CACHEOPS | {} |
CACHEOPS_DEFAULTS | {'timeout': 3600} |
CACHEOPS_REDIS | 'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.db.DatabaseCache', 'LOCATION': 'cache', 'VERSION': 2}, 'redis': {'BACKEND': 'redis_cache.RedisCache', 'LOCATION': 'parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379', 'OPTIONS': {'DB': 0, 'PASSWORD': u'********************'}}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COMMENTS_APP | u'mezzanine.generic' |
COMMENTS_USE_RATINGS | False |
COMMENT_FORM_CLASS | 'apps.blog_extensions.forms.ThreadedCommentFormNoUrl' |
CREMATION_GUIDE | [{'answer': {'id': 1, 'text': 'Zip Code', 'value': 'zip_code'}, 'button_text': 'See if I qualify', 'change_question_based_on_answer': 'false', 'group': 'location', 'id': 1, 'question_type': 'short_answer', 'required': 'true', 'text': 'Cremation plans start at $0. Complete Price. No Hidden Fees.'}, {'answers': [{'id': 1, 'next_question_id': 4, 'text': 'Myself', 'tracking_value': 'myself', 'value': 'myself'}, {'id': 2, 'next_question_id': 5, 'text': 'Family Member', 'tracking_value': 'family_member', 'value': 'family_member'}], 'change_question_based_on_answer': 'true', 'group': 'customer', 'id': 3, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Is this for yourself or a family member?'}, {'answers': [{'id': 1, 'next_question_id': 7, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 12, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'personal_timing', 'id': 4, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Are you in hospice care or have less than 6 months to live?'}, {'answers': [{'id': 1, 'next_question_id': 6, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 7, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'family_deceased', 'id': 5, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Have they already passed away?'}, {'answers': [{'id': 1, 'next_question_id': 12, 'text': 'More than 3 days ago', 'tracking_value': 'more_than_3', 'value': 'more_than_3'}, {'id': 2, 'next_question_id': 7, 'text': 'Less than 3 days ago', 'tracking_value': 'less_than_3', 'value': 'less_than_3'}], 'change_question_based_on_answer': 'true', 'group': 'family_deceased_timing', 'id': 6, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'How long ago did they pass?'}, {'answers': [{'id': 1, 'next_question_id': 9, 'text': 'Yes, I want to see if I qualify for a $0 cremation', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 12, 'text': 'No, give me other cremation options', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'body_donation', 'id': 7, 'question_type': 'multiple_choice', 'required': 'true', 'text': "We'll ask you a few questions to see if you pre-qualify for the $0 cremation through the body donation program. If you choose to donate your body to science, we'll cover the costs transportation, cremation, and returning the cremated remains 4-6 weeks later."}, {'answers': [{'id': 1, 'next_question_id': 12, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 3, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'disqualified_states', 'id': 2, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Are you looking in New Jersey or Minnesota?'}, {'answers': [{'id': 1, 'next_question_id': 9, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 12, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'family_timing', 'id': 8, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Are they in hospice care or have they been given less than 6 months to live?'}, {'answers': [{'id': 1, 'next_question_id': 12, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 10, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'qualify_disease', 'id': 9, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Have you/they been diagnosed with HIV/AIDS or Hepatitis B/C?'}, {'answers': [{'id': 1, 'next_question_id': 12, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 11, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'qualify_symptoms', 'id': 10, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Do you/they have a history of IV drug use, recent prolonged incarceration, institutionalization or homelessness?'}, {'answers': [{'id': 1, 'next_question_id': 12, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'next_question_id': 13, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'true', 'group': 'qualify_weight', 'id': 11, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Are you/they over 275 pounds or under 65 pounds? '}, {'answers': [{'id': 1, 'text': 'Yes', 'tracking_value': 'yes', 'value': 'yes'}, {'id': 2, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}], 'change_question_based_on_answer': 'false', 'group': 'service', 'id': 12, 'question_type': 'multiple_choice', 'required': 'true', 'text': 'Do you want to hold a service?'}, {'id': 13, 'question_type': 'lead_form', 'required': 'true', 'text': "You pre-qualify for a $0 cremation. A specialist from Medcure will reach out and ask you more specific questions. Once they qualify you, Medcure will take care of all expenses, including transportation, cremation, and return of the remains. Please enter your information and we'll contact you within the hour."}, {'id': 14, 'question_type': 'lead_form', 'required': 'true', 'text': "You do dont qualify for the $0 cremation, but we'll find you other cremation options. Please enter your information and we'll contact you within the hour"}] |
CRITICAL_CSS | [(('blog_landing', 'blog_post_list_category', 'blog_post_detail', 'blog_post_list_tag'), 'blog.css'), (('faq',), 'faq.css'), (('about-us',), 'about-us.css'), (('businesses-state-list',), 'state-page.css'), (('privacy',), 'privacy.css'), (('service-guide',), 'service-guide.css'), (('cremation-guide',), 'cremation-guide.css')] |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': 'parting-pro-django-prod.ce5fofamgrp3.us-east-1.rds.amazonaws.com', 'NAME': 'parting_pro_django', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_PATCH_SETTINGS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_DB | 'postgres://admin:[email protected]:5432/parting' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'storages.backends.s3boto.S3BotoStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_PRICES | {'CASKET': 1500, 'DRESSING_CASKETING': 150, 'OUTER_BURIAL_CONTAINER': 1000} |
DEFAULT_TABLESPACE | u'' |
DEVICE_USER_AGENTS | (('mobile', ('2.0 MMP', '240x320', '400X240', 'AvantGo', 'BlackBerry', 'Blazer', 'Cellphone', 'Danger', 'DoCoMo', 'Elaine/3.0', 'EudoraWeb', 'Googlebot-Mobile', 'hiptop', 'IEMobile', 'KYOCERA/WX310K', 'LG/U990', 'MIDP-2.', 'MMEF20', 'MOT-V', 'NetFront', 'Newt', 'Nintendo Wii', 'Nitro', 'Nokia', 'Opera Mini', 'Palm', 'PlayStation Portable', 'portalmmm', 'Proxinet', 'ProxiNet', 'SHARP-TQ-GX10', 'SHG-i900', 'Small', 'SonyEricsson', 'Symbian OS', 'SymbianOS', 'TS21i-10', 'UP.Browser', 'UP.Link', 'webOS', 'Windows CE', 'WinWAP', 'YahooSeeker/M1A1-R2D2', 'iPhone', 'iPod', 'iPad', 'BlackBerry9530', 'LG-TU915 Obigo', 'LGE VX', 'webOS', 'Nokia5800', 'Android', 'rick', 'force_mobile')),) |
DEV_SERVER | True |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | '[email protected]' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FACEBOOK_PIXEL_ID | '483324035200969' |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
GDAL_LIBRARY_PATH | None |
GEOS_LIBRARY_PATH | None |
GOOGLE_API_KEY | u'********************' |
GOOGLE_URL_SIGN_SECRET | u'********************' |
GRAPPELLI_ADMIN_TITLE | 'Parting.com' |
GRAPPELLI_INSTALLED | True |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('mezzanine.boot', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.humanize', 'django.contrib.sites', 'django.contrib.sitemaps', 'mezzanine.conf', 'mezzanine.core', 'mezzanine.generic', 'mezzanine.pages', 'mezzanine.blog', 'mezzanine.forms', 'mezzanine.galleries', 'mezzanine.twitter', 'apps.users', 'apps.geos', 'apps.businesses', 'apps.sales', 'apps.plots', 'apps.contacts', 'apps.faq', 'apps.utils', 'apps.ipblock', 'apps.blog_extensions', 'apps.testimonials', 'storages', 'sorl.thumbnail', 'django.contrib.gis', 'rest_framework', 'cacheops', 'debug_toolbar', 'absolute', 'adminsortable', 'clear_cache', 'raven.contrib.django.raven_compat', 'django_user_agents', 'django_extensions', 'filebrowser_safe', 'grappelli_safe', 'django.contrib.admin', 'django.contrib.staticfiles', u'django_comments') |
INTERNAL_IPS | (u'127.0.0.1',) |
ITEMS_PER_PAGE | 15 |
LANGUAGES | (('en-us', u''),) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LEAD_RECIPIENT_EMAIL | '[email protected]' |
LOAD_THIRD_PARTY_SERVICES | True |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'verbose', 'level': 'DEBUG'}, 'sentry': {'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler', 'level': 'ERROR', 'tags': {'custom-tag': 'x'}}}, 'loggers': {'django.db.backends': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}, 'raven': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}, 'sentry.errors': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}}, 'root': {'handlers': ['sentry'], 'level': 'WARNING'}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | 'https://parting.s3.amazonaws.com/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.cookie.CookieStorage' |
MIDDLEWARE | (u'raven.contrib.django.middleware.SentryMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'apps.utils.middleware.QueryCacheMiddleware', 'apps.utils.middleware.FakeDeviceMiddleware', 'django.middleware.gzip.GZipMiddleware', 'mezzanine.core.middleware.UpdateCacheMiddleware', 'apps.blog_extensions.middleware.RequestFlavourMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'apps.ipblock.middleware.BlockIPMiddleware', 'mezzanine.core.request.CurrentRequestMiddleware', 'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', 'mezzanine.core.middleware.SitePermissionMiddleware', 'mezzanine.pages.middleware.PageMiddleware', 'mezzanine.core.middleware.FetchFromCacheMiddleware', 'htmlmin.middleware.MarkRequestMiddleware', 'django_user_agents.middleware.UserAgentMiddleware') |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MIXPANEL_TOKEN | u'********************' |
MONTH_DAY_FORMAT | u'F j' |
NEVERCACHE_KEY | u'********************' |
NUMBER_GROUPING | 0 |
OG_FEATURED_IMAGE_FALLBACK | 'https://parting-staging.herokuapp.com/static/img/[email protected]' |
OPEN_REDIS_URL | 'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379' |
OPTIONAL_APPS | ('django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe') |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PIPEDRIVE_API_KEY | u'********************' |
PREPEND_WWW | False |
PROJECT_APP | 'config' |
PROJECT_APP_PATH | '/app/config' |
PROJECT_ROOT | '/app' |
RAVEN_CONFIG | {'dsn': 'https://4958f51958ca4f3f88e16cb278595c07:[email protected]/139064'} |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication',), 'DEFAULT_PAGE_SIZE': 10, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.AllowAny',)} |
RICHTEXT_ALLOWED_STYLES | ('margin-top', 'margin-bottom', 'margin-left', 'margin-right', 'float', 'vertical-align', 'border', 'margin', 'display') |
ROOT_URLCONF | 'config.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_CF_VISITOR', '{"scheme":"https"}') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SERVICE_GUIDE | [{'answers': [], 'group': 'required', 'id': 0, 'text': "We'll ask you a few questions to connect you with the right funeral home."}, {'answers': [{'id': 5, 'text': 'I have an immediate need', 'tracking_value': 'immediate', 'value': 'true'}, {'id': 6, 'text': 'I am planning for the future', 'tracking_value': 'future', 'value': 'false'}], 'group': 'required', 'id': 0, 'text': 'When will you require services?'}, {'answers': [{'id': 1, 'text': 'Burial', 'tracking_value': 'burial', 'value': 'true'}, {'id': 2, 'text': 'Cremation', 'tracking_value': 'cremation', 'value': 'false'}], 'group': 'funeral_type', 'id': 1, 'text': 'Which do you prefer?'}, {'answers': [{'id': 1, 'text': 'Yes, I would like a service', 'tracking_value': 'service', 'value': 'true'}, {'id': 2, 'text': "No, I don't want a service", 'tracking_value': 'no service', 'value': 'false'}], 'group': 'service', 'id': 1, 'text': 'Would you like to hold a service?'}, {'answers': [{'id': 1, 'text': 'Yes, I would like a viewing or wake', 'tracking_value': 'viewing', 'value': 'true'}, {'id': 2, 'text': "No, I don't want a viewing or wake ", 'tracking_value': 'no viewing', 'value': 'false'}], 'group': 'wake', 'id': 1, 'text': 'Would you like a viewing or wake?'}] |
SERVICE_RANGE_CHOICES | [(15, 15), (20, 20), (30, 30), (50, 50), (75, 75)] |
SERVICE_RANGE_VALUES | [15, 20, 30, 50, 75] |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'config.settings.local' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_CACHE_LIFE | 8640000 |
STATICFILES_DIRS | ('/app/core/static',) |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATICFILES_VERSION | 126 |
STATIC_ROOT | '/app/staticfiles' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['core/templates'], 'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'], 'context_processors': ('absolute.context_processors.absolute', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.tz', 'mezzanine.conf.context_processors.settings', 'mezzanine.pages.context_processors.page', 'apps.blog_extensions.context_processors.mezzanine_settings', 'apps.businesses.context_processors.default_prices', 'apps.utils.context_processors.critical_css', 'apps.utils.context_processors.template_variables'), 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TESTING | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
THUMBNAIL_QUALITY | 60 |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'US/Pacific' |
TOP_CITIES_CACHE_TTL | 604800 |
TRACK_AJAX_REQUESTS | True |
TRACK_PAGEVIEWS | True |
TRACK_REFERER | True |
USER_AGENTS_CACHE | 'redis' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_MODELTRANSLATION | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WHITENOISE_MAX_AGE | 8640000 |
WSGI_APPLICATION | 'config.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.