<s> from django . contrib import admin <EOL> from wysihtml5 . admin import AdminWysihtml5TextFieldMixin <EOL> from demo . articles . models import Article <EOL> class ArticleAdmin ( AdminWysihtml5TextFieldMixin , admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:title>' , '<STR_LIT>' ) <EOL> list_filter = ( '<STR_LIT>' , ) <EOL> search_fields = ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT:body>' ) <EOL> prepopulated_fields = { '<STR_LIT>' : ( '<STR_LIT:title>' , ) } <EOL> fieldsets = ( ( None , <EOL> { '<STR_LIT>' : ( '<STR_LIT:title>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:body>' , <EOL> '<STR_LIT>' , ) } ) , ) <EOL> admin . site . register ( Article , ArticleAdmin ) </s>
