Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\w-]+)/(?P<city>[\\w-]+)/(?P<business>[\\w-]+-\\d+)/$']
Request Method: | GET |
---|---|
Request URL: | https://www.parting.com/funeral-home/NC/yadkinville/ |
Django Version: | 1.11.7 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\w-]+)/(?P<city>[\\w-]+)/(?P<business>[\\w-]+-\\d+)/$'] |
Exception Location: | /usr/local/lib/python2.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 |
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: | Fri, 29 Mar 2024 04:25:38 -0700 |
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 | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7ff8259111d0>> |
request | <WSGIRequest: GET '/funeral-home/NC/yadkinville/'> |
/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 GeoPointView at 0x7ff805830b50> |
callback_args | () |
callback_kwargs | {'city': u'yadkinville', 'state': u'NC'} |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7ff81fa78950>> |
request | <WSGIRequest: GET '/funeral-home/NC/yadkinville/'> |
resolver | <RegexURLResolver 'config.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.businesses.views.GeoPointView, args=(), kwargs={'city': u'yadkinville', 'state': u'NC'}, url_name=businesses-city-list, 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 GeoPointView at 0x7ff805830b50> |
/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 GeoPointView at 0x7ff805830b50> |
callback_args | () |
callback_kwargs | {'city': u'yadkinville', 'state': u'NC'} |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7ff81fa78950>> |
request | <WSGIRequest: GET '/funeral-home/NC/yadkinville/'> |
resolver | <RegexURLResolver 'config.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=apps.businesses.views.GeoPointView, args=(), kwargs={'city': u'yadkinville', 'state': u'NC'}, url_name=businesses-city-list, 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 GeoPointView at 0x7ff805830b50> |
/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 | {'built_filter_query': '&burial=true&wake=true&service=true', 'burial': 'true', 'burial_name': 'Burial', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'critical_css': 'search.css', 'loan_service_type': 'burial', 'pagination': {'has_next': False, 'has_previous': False, 'next_page_number': None, 'num_pages': 1, 'number': 1, 'previous_page_number': None, 'visible_page_range': [1]}, 'point_data': {'city': u'Yadkinville', 'db_repr': 'POINT(-80.659510 36.134580)', 'lat': Decimal('36.134580'), 'lng': Decimal('-80.659510'), 'point': <Point object at 0x7ff7e27982e0>, 'search_box_text': 'Yadkinville, NC', 'state_abbrev': u'NC'}, 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"included": false, "price": 1500.0, "extended": true, "id": 158, "title": "Cas... <trimmed 11583 bytes string> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7ff7b4b18310> |
/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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
request | <WSGIRequest: GET '/funeral-home/NC/yadkinville/'> |
self | <django.template.backends.django.Template object at 0x7ff7b4b18310> |
/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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
self | <django.template.base.Template object at 0x7ff7e397b1d0> |
/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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
self | <django.template.base.Template object at 0x7ff7e397b1d0> |
/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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
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 0x7ff7b4bb0ed0> |
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 0x7ff7e3853790>, <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 0x7ff7fc730450>, <TextNode: u'?v=1" alt=""/></a>\n '>, <Block Node: header_search. Contents: [<TextNode: u'\n <div cla'>, <django.template.defaulttags.SpacelessNode object at 0x7ff7fc10b490>, <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 0x7ff804bc88d0>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc8110>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc86d0>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853350>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853450>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853910>, <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 0x7ff804bc88d0>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc8110>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc86d0>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853350>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853450>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853910>, <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 0x7ff7bc387bd0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7ff7fdefcdd0> |
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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
self | <django.template.base.Template object at 0x7ff7bc387bd0> |
/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'10 Best Funeral Homes in Yadkinville, NC\n | Parting', u'</title>\n <meta name="keywords" content="', u'', u'">\n <meta name="description" content="', u'Top rated Yadkinville, NC funeral homes: See prices at all 9 funeral homes and read 2 reviews. No credit card required!', u'">\n <link rel="shortcut icon" href="', u'/static/icon/favicon.ico', u'" />\n\n ', u'\n \n <style id="critical_css">\n canvas,sub{vertical-align:baseline}*,input[type=checkbox],input[type=radio]{box-sizing:border-box}.sr-only,img{border:0}[role=button],button{cursor:pointer}canvas,label{display:inline-block}.btn,.progress-bar,.text-center{text-align:center}.col-xs-12,.dropdown-menu,.nav-pills>li,.progress-bar{float:left}.clearfix::after,.container::after,.icon-addon::after,.modal-footer::after,.nav::after,.row::after{clear:both}sub{position:relative;bottom:-.25em}body{margin:0;line-height:1.42857143}html{-webkit-tap-highlight-color:transparent;font-family:sans-serif;font-size:10px}button,h1,h2,h3,h4,h6,input{font-family:inherit;color:inherit}nav{display:block}a{background-color:transparent}h1{margin:.67em 0}.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}.modal,.progress,.sr-only{overflow:hidden}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}@media print{img{page-break-inside:avoid;max-width:100%!important}*{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:''}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.dropdown-menu,.modal-content{-webkit-background-clip:padding-box}.btn,.form-control{background-image:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0 0 0 0)}h1,h2,h3,h4,h6,ul{margin-bottom:10px}h1,h2,h3,h4,h6{font-weight:500;line-height:1.1}h1,h2,h3{margin-top:20px}h4,h6{margin-top:10px}h2{font-size:30px}h3{font-size:24px}h4{font-size:18px}h6{font-size:12px}small{font-size:85%}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}.col-sm-12,.col-xs-12,.container{padding-right:15px;padding-left:15px}.container{margin-right:auto;margin-left:auto}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.col-sm-12,.col-xs-12{position:relative;min-height:1px}.col-xs-12{width:100%}label{max-width:100%;margin-bottom:5px}input[type=checkbox],input[type=radio]{margin:4px 0 0;line-height:normal}.btn,.dropdown-menu>li>a,.form-control,.pagination>li>a{line-height:1.42857143}.form-control{display:block;width:100%;height:34px;padding:6px 12px;-webkit-box-shadow:rgba(0,0,0,.0745098) 0 1px 1px inset;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-group{margin-bottom:15px}.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.btn,.radio label{margin-bottom:0;font-weight:400;cursor:pointer}.radio label{min-height:20px;padding-left:20px}.radio input[type=radio]{position:absolute;margin-left:-20px}.dropdown{position:relative}@media (min-width:768px){.col-sm-12{float:left;width:100%}.form-inline .form-group,.form-inline .radio{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .radio{margin-top:0}.form-inline ... <trimmed 44073 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
node | <Block Node: content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7ff7fdefcdd0>, <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 0x7ff7ff500a90>, <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 0x7ff7fc730b10>, <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 0x7ff7fc730450>, <TextNode: u'?v=1" alt=""/></a>\n '>, <Block Node: header_search. Contents: [<TextNode: u'\n <div cla'>, <django.template.defaulttags.SpacelessNode object at 0x7ff7fc10b490>, <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 0x7ff804bc88d0>, <TextNode: u'">Blog</a>\n '>, <Block Node: faq_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc8110>, <TextNode: u'">FAQ</a>\n '>, <Block Node: about_link_class. Contents: []>, <TextNode: u'">\n '>, <django.template.defaulttags.URLNode object at 0x7ff804bc86d0>, <TextNode: u'">About</a>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853350>, <TextNode: u'">Blog</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853450>, <TextNode: u'">FAQ</a></li>\n '>, <django.template.defaulttags.URLNode object at 0x7ff7e3853910>, <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 0x7ff7e3853790>, <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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
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="results"'>, <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]>, <TextNode: u'\n\n <div cl'>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc2b34d0>, <TextNode: u'\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7ff7b4bb0ed0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
push | <Block Node: content. Contents: [<TextNode: u'\n <div class="results"'>, <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]>, <TextNode: u'\n\n <div cl'>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc2b34d0>, <TextNode: u'\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 class="results">\n <div class="container">\n <div class="row">\n ' |
bits | [u'\n <div class="results">\n <div class="container">\n <div class="row">\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
node | <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]> |
self | [<TextNode: u'\n <div class="results"'>, <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]>, <TextNode: u'\n\n <div cl'>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc2b34d0>, <TextNode: u'\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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
self | <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]> |
/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: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7ff7b4bb0ed0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
push | <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]> |
self | <Block Node: filters. Contents: [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\n '>]> |
/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'</h1>\n\n ' |
bits | [u'\n <div class="results-info">\n\n <div class="filters">\n\n\n <div class="filter-items">\n\n <div class="filter-body-bottom">\n <ul>\n <li><a class="mp-service ', u'active', u'" href="?burial=true&wake=true&service=true', u'&sort=closest', u'', u'">Traditional Funeral</a></li>\n <li><a class="mp-service ', u'', u'" href="?burial=false&wake=true&service=true', u'&sort=closest', u'', u'">Cremation Memorial</a></li>\n <li><a class="mp-service ', u'', u'" href="?burial=true&wake=false&service=false', u'&sort=closest', u'', u'">Direct Burial</a></li>\n <li><a class="mp-service ', u'', u'" href="?burial=false&wake=false&service=false', u'&sort=closest', u'', u'">Direct Cremation</a></li>\n </ul>\n </div>\n\n <div class="help-button">\n <a data-toggle="modal" data-target="#questionnaire-modal" class="btn btn-secondary btn-back">Help me choose</a>\n </div>\n\n\n <div class="filter-heading">Sort:</div>\n <div class="filter-body-bottom">\n <ul>\n <li><a class="mp-sort ', u'active', u'" href="?sort=closest', u'', u'&burial=true&wake=true&service=true', u'">Closest to Me</a></li>\n <li><a class="mp-sort ', u'', u'" href="?sort=lowest_price', u'', u'&burial=true&wake=true&service=true', u'">Lowest Price</a></li>\n <li><a class="mp-sort ', u'', u'" href="?sort=highest_rated', u'', u'&burial=true&wake=true&service=true', u'">Highest Rated</a></li>\n <li><a class="mp-sort ', u'', u'" href="?sort=highest_reviewed', u'', u'&burial=true&wake=true&service=true', u'">Most Reviewed</a></li>\n </ul>\n </div>\n\n\n </div>\n\n <div class="filter-items hidden">\n <div class="filter-heading">Showing prices for:</div>\n <div class="filter-body">\n <ul>\n <li>\n <div id="burial_dropdown" class="dropdown">\n <button type="button" data-toggle="dropdown">\n <span class="type">', u'Burial', u'</span>\n <span class="caret-stack">\n <span class="fa fa-caret-up inner-caret"></span>\n <span class="fa fa-caret-down inner-caret"></span>\n </span>\n </button>\n <ul class="dropdown-menu" aria-labelledby="burial_dropdown">\n <li><a id="burial" data-id="true" href="#">Burial</a></li>\n <li><a id="no_burial" data-id="false" href="#">Cremation</a></li>\n </ul>\n </div>\n </li>\n <li>\n <div id="service_dropdown" class="dropdown">\n <button id="" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\n <span class="t... <trimmed 7323 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
node | <IfNode> |
self | [<TextNode: u'\n <div'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Traditional Funeral</a>'>, <IfNode>, <TextNode: u'" href="?burial=false&wa'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Cremation Memorial</a><'>, <IfNode>, <TextNode: u'" href="?burial=true&wake'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Burial</a></li>\n'>, <IfNode>, <TextNode: u'" href="?burial=false&wak'>, <Variable Node: sort_query>, <Variable Node: zip_query>, <TextNode: u'">Direct Cremation</a></l'>, <IfNode>, <TextNode: u'" href="?sort=closest'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Closest to Me</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=lowest_pric'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Lowest Price</a></li>\n '>, <IfNode>, <TextNode: u'" href="?sort=highest_rat'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Highest Rated</a></li>\n'>, <IfNode>, <TextNode: u'" href="?sort=highest_rev'>, <Variable Node: zip_query>, <Variable Node: built_filter_query>, <TextNode: u'">Most Reviewed</a></li>\n'>, <Variable Node: burial_name>, <TextNode: u'</span>\n '>, <Variable Node: service_name>, <TextNode: u'</span>\n '>, <Variable Node: wake_name>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7fc536350>, <TextNode: u'</h1>\n\n '>, <IfNode>, <TextNode: u'\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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (literal <django.template.base.FilterExpression object at 0x7ff7fc536dd0>) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
match | [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>] |
nodelist | [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e340e290>, <TextNode: u'\n '>, <For Node: for b in businesses, tail_len: 43>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e024b410>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e024b450>, <TextNode: u'\n\n '>] |
self | <IfNode> |
/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 class="clearfix"></div>\n\n ' |
bits | [u'\n ', u'\n', u'\n <div class="clearfix"></div>\n\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
node | <For Node: for b in businesses, tail_len: 43> |
self | [<TextNode: u'\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e340e290>, <TextNode: u'\n '>, <For Node: for b in businesses, tail_len: 43>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e024b410>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7ff7e024b450>, <TextNode: u'\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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
self | <For Node: for b in businesses, tail_len: 43> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
i | 0 |
item | <Business: Nicholson Funeral Home> |
len_values | 9 |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 9, u'revcounter0': 8} |
node | <django.template.defaulttags.URLNode object at 0x7ff7e0149e90> |
nodelist | [u'\n <div class="js-listing-item listing-item col-sm-12" data-id="', u'17735', u'" data-is-body-donation="', u'false', u'" itemscope itemtype="http://schema.org/LocalBusiness">\n <a href="'] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <For Node: for b in businesses, tail_len: 43> |
unpack | False |
values | [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>] |
/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}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
e | NoReverseMatch(u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']",) |
self | <django.template.defaulttags.URLNode object at 0x7ff7e0149e90> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'sort': 'closest', 'burial': 'true', 'reviews_count': 2, 'results_count': 9, 'total_prices': {'direct_cremation_min': 1250.0, 'traditional_avg': 5875, 'traditional_no_service_avg': 5587, 'memorial_no_service_avg': 2542, 'direct_cremation_avg': 1672, 'memorial_min': 2395.0, 'memorial_no_viewing_avg': 2455, 'memorial_no_viewing_min': 1995.0, 'traditional_no_viewing_avg': 5500, 'memorial_no_service_min': 2195.0, 'traditional_no_viewing_min': 4940.0, 'traditional_no_service_min': 5140.0, 'traditional_min': 5340.0, 'memorial_avg': 2830}, 'service_name': 'traditional funeral', 'search_box_text': 'Yadkinville, NC', 'sort_query': '&sort=closest', 'businesses': [<Business: Nicholson Funeral Home>, <Business: Mackie Sinclair Funeral Home>, <Business: Gentry Family Funeral Service>, <Business: Gentry Family Funeral Service>, <Business: Huff Funeral Home>, <Business: Hayworth-Miller Funeral Home>, <Business: Johnson Funeral Home>, <Business: Reavis Funeral Home>, <Business: Elkins Funeral Service>], 'total_min_price': 5340.0, 'canonical_url': 'https://www.parting.com/funeral-home/NC/yadkinville/', 'city': u'yadkinville', 'pagination': {'visible_page_range': [1], 'has_next': False, 'num_pages': 1, 'number': 1, 'next_page_number': None, 'has_previous': False, 'previous_page_number': None}, 'service': 'true', 'critical_css': 'search.css', 'type_query': '&type=traditional', 'pricing_data': '{"14209": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1295.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 400.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 595.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": 5340.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "17735": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 2350.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 375.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 375.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 375.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 795.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": 6920.0, "has_extended_services": true, "has_service": true, "has_non_extended_services": true}, "14081": {"discount": 0, "has_burial": true, "has_viewing": true, "is_body_donation": false, "title": "Traditional Funeral", "services": [{"included": false, "price": 1265.0, "extended": false, "id": 142, "title": "Basic Services"}, {"included": false, "price": 200.0, "extended": false, "id": 145, "title": "Viewing/Visitation"}, {"included": false, "price": 200.0, "extended": false, "id": 146, "title": "Funeral Ceremony"}, {"included": false, "price": 200.0, "extended": false, "id": 143, "title": "Transfer of Remains"}, {"included": false, "price": 495.0, "extended": false, "id": 144, "title": "Embalming"}, {"incl... <trimmed 11060 bytes string> |
current_app | u'' |
kwargs | {u'business': u'nicholson-funeral-home-nc', u'city': u'statesville', u'state': u'NC'} |
reverse | <function reverse at 0x7ff81fb431d0> |
self | <django.template.defaulttags.URLNode object at 0x7ff7e0149e90> |
url | u'' |
view_name | u'businesses-business' |
/usr/local/lib/python2.7/site-packages/django/urls/base.py
in reverse
(key, ':'.join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
Variable | Value |
---|---|
args | [] |
current_app | u'' |
current_path | None |
kwargs | {u'business': u'nicholson-funeral-home-nc', u'city': u'statesville', u'state': u'NC'} |
ns_pattern | u'' |
parts | [u'businesses-business'] |
path | [] |
prefix | u'/' |
resolved_path | [] |
resolver | <RegexURLResolver 'config.urls' (None:None) ^/> |
urlconf | 'config.urls' |
view | u'businesses-business' |
viewname | u'businesses-business' |
/usr/local/lib/python2.7/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
_prefix | u'/' |
arg_msg | u"keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}'" |
args | () |
candidate_pat | u'/funeral-home/%(state)s/%(city)s/%(business)s/' |
candidate_subs | {u'business': u'nicholson-funeral-home-nc', u'city': u'statesville', u'state': u'NC'} |
defaults | {} |
kwargs | {u'business': u'nicholson-funeral-home-nc', u'city': u'statesville', u'state': u'NC'} |
lookup_view | u'businesses-business' |
lookup_view_s | u'businesses-business' |
m | None |
matches | True |
msg | u"Reverse for 'businesses-business' with keyword arguments '{u'city': u'statesville', u'state': u'NC', u'business': u'nicholson-funeral-home-nc'}' not found. 1 pattern(s) tried: ['funeral-home/(?P<state>[\\\\w-]+)/(?P<city>[\\\\w-]+)/(?P<business>[\\\\w-]+-\\\\d+)/$']" |
n | None |
params | [u'state', u'city', u'business'] |
pattern | 'funeral-home/(?P<state>[\\w-]+)/(?P<city>[\\w-]+)/(?P<business>[\\w-]+-\\d+)/$' |
patterns | ['funeral-home/(?P<state>[\\w-]+)/(?P<city>[\\w-]+)/(?P<business>[\\w-]+-\\d+)/$'] |
possibilities | [([(u'funeral-home/%(state)s/%(city)s/%(business)s/', [u'state', u'city', u'business'])], 'funeral-home/(?P<state>[\\w-]+)/(?P<city>[\\w-]+)/(?P<business>[\\w-]+-\\d+)/$', {})] |
possibility | [(u'funeral-home/%(state)s/%(city)s/%(business)s/', [u'state', u'city', u'business'])] |
result | u'funeral-home/%(state)s/%(city)s/%(business)s/' |
self | <RegexURLResolver 'config.urls' (None:None) ^/> |
text_args | [] |
text_kwargs | {u'business': u'nicholson-funeral-home-nc', u'city': u'statesville', u'state': u'NC'} |
AnonymousUser
No GET data
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'bKzj6K604c0jc1JpQB2xKcw7zPCXllpUnkL15h0o7QmwuzqB44k9PQIMXettlDOf' |
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 | '44.223.40.255' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bf80192f710801-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_HOST | 'www.parting.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_AMZN_TRACE_ID | 'Root=1-6606a532-57eb7cdc36a1cf1553f5dc11' |
HTTP_X_FORWARDED_FOR | '44.223.40.255, 172.70.39.127' |
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/NC/yadkinville/' |
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 | '' |
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 0x7ff7b619e950> |
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.