#NEWLINE# def get_changelist( self ) : #NEWLINE# #INDENT# if ( not hasattr ( self , 'changelist' ) ) : #NEWLINE# #INDENT# instance = self . get_temporary_store ( ) #NEWLINE# dotpath = self . dotpath ( ) #NEWLINE# changelist_cls = self . get_changelist_class ( ) #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'request' : self . request , #NEWLINE# 'model' : self . schema , #NEWLINE# 'list_display' : self . admin . list_display , #NEWLINE# 'list_display_links' : self . admin . list_display_links , #NEWLINE# 'list_filter' : self . admin . list_filter , #NEWLINE# 'date_hierarchy' : self . admin . date_hierarchy , #NEWLINE# 'search_fields' : self . admin . search_fields , #NEWLINE# 'list_select_related' : self . admin . list_select_related , #NEWLINE# 'list_per_page' : self . admin . list_per_page , #NEWLINE# 'list_max_show_all' : self . admin . list_max_show_all , #NEWLINE# 'list_editable' : self . admin . list_editable , #NEWLINE# 'model_admin' : self . admin , #NEWLINE# #UNINDENT# } #NEWLINE# from changelist import ChangeList #NEWLINE# argspec = inspect . getargspec ( ChangeList . __init__ ) #NEWLINE# for key in kwargs . keys ( ) : #NEWLINE# #INDENT# if ( key not in argspec . args ) : #NEWLINE# #INDENT# del kwargs [ key ] #NEWLINE# #UNINDENT# #UNINDENT# kwargs . update ( { #NEWLINE# #INDENT# 'instance' : instance , #NEWLINE# 'dotpath' : dotpath , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . changelist = changelist_cls ( ** kwargs ) #NEWLINE# #UNINDENT# return self . changelist