def __init__(self, *args, **kwargs):
        """ Registers all apps with BatonAdminSite """
        super(BatonAdminSite, self).__init__(*args, **kwargs)
        # copy registered actions
        self._actions = site._actions
        self._registry.update(site._registry)
        for model in site._registry:
            self.unregister([model])
            self.register([model], type(site._registry[model]))
def __init__ ( self , * args , ** kwargs ) : super ( BatonAdminSite , self ) . __init__ ( * args , ** kwargs ) self . _actions = site . _actions self . _registry . update ( site . _registry ) for model in site . _registry : self . unregister ( [ model ] ) self . register ( [ model ] , type ( site . _registry [ model ] ) )
Registers all apps with BatonAdminSite