<s> from django . contrib import admin <EOL> from article . models import Article <EOL> from article . models import Tag <EOL> class ArticleAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> search_fields = ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:content>' ) <EOL> list_filter = ( "<STR_LIT>" , ) <EOL> raw_id_fields = ( '<STR_LIT>' , ) <EOL> date_hierarchy = '<STR_LIT>' <EOL> admin . site . register ( Article , ArticleAdmin ) <EOL> admin . site . register ( Tag ) </s>
