"""
Admin screen for a layout (=template with metadata).
"""
from django.contrib import admin


class PageLayoutAdmin(admin.ModelAdmin):
    # Config list page:
    list_display = ("title", "key")
    fieldsets = ((None, {"fields": ("title", "key", "template_path")}),)
    prepopulated_fields = {"key": ("title",)}

cf7dbf2cd5a3d1ea1e80adc023921e081e074949
<mask token>

<mask token>


class PageLayoutAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class PageLayoutAdmin(admin.ModelAdmin):
    list_display = 'title', 'key'
    fieldsets = (None, {'fields': ('title', 'key', 'template_path')}),
    prepopulated_fields = {'key': ('title',)}

<mask token>
from django.contrib import admin


class PageLayoutAdmin(admin.ModelAdmin):
    list_display = 'title', 'key'
    fieldsets = (None, {'fields': ('title', 'key', 'template_path')}),
    prepopulated_fields = {'key': ('title',)}

"""
Admin screen for a layout (=template with metadata).
"""
from django.contrib import admin


class PageLayoutAdmin(admin.ModelAdmin):
    # Config list page:
    list_display = ("title", "key")
    fieldsets = ((None, {"fields": ("title", "key", "template_path")}),)
    prepopulated_fields = {"key": ("title",)}
