<s> from django . apps import AppConfig <EOL> from django . core import checks <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> def check_admin_app ( ** kwargs ) : <EOL> from . sites import system_check_errors <EOL> return system_check_errors <EOL> class SimpleMongoAdminConfig ( AppConfig ) : <EOL> """<STR_LIT>""" <EOL> name = "<STR_LIT>" <EOL> verbose_name = _ ( "<STR_LIT>" ) <EOL> def ready ( self ) : <EOL> checks . register ( check_admin_app , checks . Tags . admin ) <EOL> class MongoAdminConfig ( SimpleMongoAdminConfig ) : <EOL> def ready ( self ) : <EOL> super ( MongoAdminConfig , self ) . ready ( ) <EOL> self . module . autodiscover ( ) </s>
