catch DoesNotExist, black
@@ -54,8 +54,11 @@ class PartnersFilterView(FilterView):
context["tag"] = TextFieldTag.objects.get(id=tag_id)
except KeyError:
pass
+ except TextFieldTag.DoesNotExist:
+ pass
return context
+
class PartnersDetailView(DetailView):
model = Partner
