<s> from django . contrib import admin <EOL> from django . db . models import get_model <EOL> class FancyPageAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def name ( self , obj ) : <EOL> return obj . node . name <EOL> def slug ( self , obj ) : <EOL> return obj . node . slug <EOL> admin . site . register ( get_model ( '<STR_LIT>' , '<STR_LIT>' ) , FancyPageAdmin ) <EOL> admin . site . register ( get_model ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> admin . site . register ( get_model ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> admin . site . register ( get_model ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> admin . site . register ( get_model ( '<STR_LIT>' , '<STR_LIT>' ) ) </s>
