<s> from blog . models import Post <EOL> from django . contrib import admin <EOL> class PostAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ "<STR_LIT:title>" , "<STR_LIT>" , "<STR_LIT:status>" ] <EOL> list_filter = [ "<STR_LIT>" , "<STR_LIT:status>" ] <EOL> search_fields = [ "<STR_LIT:title>" , "<STR_LIT:body>" , "<STR_LIT>" ] <EOL> prepopulated_fields = { "<STR_LIT>" : [ "<STR_LIT:title>" ] } <EOL> admin . site . register ( Post , PostAdmin ) </s>
