Add og image to plan detail page
This commit is contained in:
parent
673d3ec17b
commit
2f6963fe60
4 changed files with 89 additions and 1 deletions
|
|
@ -59,6 +59,10 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
|
|||
return context
|
||||
|
||||
|
||||
class GovPlanDetailOGView(GovPlanDetailView):
|
||||
template_name = "froide_govplan/plan_og.html"
|
||||
|
||||
|
||||
def search(request):
|
||||
plans = GovernmentPlan.objects.search(request.GET.get("q", ""))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue