hacking
This commit is contained in:
parent
c62c1b2c1b
commit
5b4e779145
2 changed files with 16 additions and 2 deletions
|
|
@ -80,8 +80,7 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
|
|||
"-timestamp"
|
||||
)
|
||||
context["section"] = self.object.get_section()
|
||||
if self.request.user.is_authenticated:
|
||||
context["update_proposal_form"] = GovernmentPlanUpdateProposalForm()
|
||||
context["update_proposal_form"] = GovernmentPlanUpdateProposalForm()
|
||||
# For CMS toolbar
|
||||
self.request.govplan = self.object
|
||||
return context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue