from django.contrib import admin

# Register your models here.
from pages.models import Page

class PageAdmin(admin.ModelAdmin):
    list_display = ('name','header', 'create_date','update_date')
    ordering = ['name']
    search_fields = ['header', 'body_text']
    

admin.site.register(Page, PageAdmin)
dfe62612efd8a7bb9dc950379f12c65f28434e3d
<mask token>


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


<mask token>

<mask token>


class PageAdmin(admin.ModelAdmin):
    list_display = 'name', 'header', 'create_date', 'update_date'
    ordering = ['name']
    search_fields = ['header', 'body_text']


<mask token>

<mask token>


class PageAdmin(admin.ModelAdmin):
    list_display = 'name', 'header', 'create_date', 'update_date'
    ordering = ['name']
    search_fields = ['header', 'body_text']


admin.site.register(Page, PageAdmin)

from django.contrib import admin
from pages.models import Page


class PageAdmin(admin.ModelAdmin):
    list_display = 'name', 'header', 'create_date', 'update_date'
    ordering = ['name']
    search_fields = ['header', 'body_text']


admin.site.register(Page, PageAdmin)

from django.contrib import admin

# Register your models here.
from pages.models import Page

class PageAdmin(admin.ModelAdmin):
    list_display = ('name','header', 'create_date','update_date')
    ordering = ['name']
    search_fields = ['header', 'body_text']
    

admin.site.register(Page, PageAdmin)