<s> from django . contrib import admin <EOL> from . models import Page , ACLRule , Redirect <EOL> class PageAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT:title>' , '<STR_LIT>' ) <EOL> list_filter = ( '<STR_LIT>' , ) <EOL> search_fields = ( '<STR_LIT>' , '<STR_LIT:title>' ) <EOL> class ACLRuleAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> list_filter = ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> search_fields = ( '<STR_LIT>' , '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> class RedirectAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> search_fields = ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> admin . site . register ( Page , PageAdmin ) <EOL> admin . site . register ( ACLRule , ACLRuleAdmin ) <EOL> admin . site . register ( Redirect , RedirectAdmin ) </s>
