text: from django.contrib import admin
  from .models import Post
  
  class PostAdmin(admin.ModelAdmin):
      list_display = ('title', 'slug', 'status', 'created_on')
      list_filter = ["status"]
      search_fields = ['title', 'content']
      prepopulated_fields = {'slug': ('title',)}
  
  class AdminComment(models.ModelAdmin):
      list_display = ('name','body', 'post', 'created_on', 'active')
      list_filter = ('active')
  
  admin.site.register(Post,PostAdmin)