<s> from easytree_example . models import ExampleNode , SubClassedExampleNode , SingleRootExampleNode <EOL> from easytree . admin import EasyTreeAdmin <EOL> from django . contrib import admin <EOL> class ExampleNodeAdmin ( EasyTreeAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:title>' ) <EOL> list_editable = ( '<STR_LIT:title>' , ) <EOL> list_filter = ( '<STR_LIT>' , ) <EOL> class SubClassedExampleNodeAdmin ( EasyTreeAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:title>' ) <EOL> list_editable = ( '<STR_LIT:title>' , ) <EOL> list_filter = ( '<STR_LIT>' , ) <EOL> class SingleRootExampleNodeAdmin ( EasyTreeAdmin ) : <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:title>' ) <EOL> list_editable = ( '<STR_LIT:title>' , ) <EOL> list_filter = ( '<STR_LIT>' , ) <EOL> admin . site . register ( ExampleNode , ExampleNodeAdmin ) <EOL> admin . site . register ( SubClassedExampleNode , SubClassedExampleNodeAdmin ) <EOL> admin . site . register ( SingleRootExampleNode , SingleRootExampleNodeAdmin ) </s>
