add faqs to homepage
This commit is contained in:
parent
3519da52aa
commit
7f7e5baa98
6 changed files with 113 additions and 1 deletions
|
@ -11,6 +11,7 @@ from .models import (
|
|||
ReusableText,
|
||||
Service,
|
||||
ServiceOffering,
|
||||
WebsiteFaq,
|
||||
)
|
||||
|
||||
|
||||
|
@ -126,3 +127,10 @@ class ConsultingPartnerAdmin(admin.ModelAdmin):
|
|||
class LeadAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "company", "created_at", "odoo_lead_id")
|
||||
search_fields = ("name", "company")
|
||||
|
||||
|
||||
@admin.register(WebsiteFaq)
|
||||
class WebsiteFaqAdmin(admin.ModelAdmin):
|
||||
list_display = ("question", "order")
|
||||
search_fields = ("question", "answer")
|
||||
ordering = ("order",)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue