from django.contrib import admin

from landing.models import *
from landing.utils import create_pages_clean_admin


@admin.register(LandingPage)
class LandingPageAdmin(admin.ModelAdmin):
    list_display = ('title', 'slug')
    actions = [create_pages_clean_admin]


@admin.register(FAQmodel)
class LandingPageAdmin(admin.ModelAdmin):
    list_display = ('question',)
# admin.site.register(LandingPage)
