From aa0ee68bd1964fdd8d3b170deeb9a23c542031ef Mon Sep 17 00:00:00 2001 From: Martin Filliau Date: Mon, 20 Feb 2012 14:03:12 +0000 Subject: [PATCH] using context in views instead of loading from db --- molly/apps/places/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/molly/apps/places/views.py b/molly/apps/places/views.py index 9aadbdb4..1586522f 100644 --- a/molly/apps/places/views.py +++ b/molly/apps/places/views.py @@ -309,7 +309,6 @@ def breadcrumb(self, request, context, scheme, value): parent_view = 'nearby-detail' else: parent_view = 'category-detail' - #entity = get_entity(scheme, value) return Breadcrumb( 'places', lazy_parent(parent_view, ptypes=context['entity'].primary_type.slug),