fix attribute error
This commit is contained in:
parent
a3c12ca90e
commit
c0c68c4b70
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class GovPlanSectionDetailView(GovernmentMixin, DetailView):
|
|||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context["plans"] = self.context["object"].get_plans()
|
||||
context["plans"] = context["object"].get_plans()
|
||||
return context
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue