def get_registered_models(self, abstract=True):
        """
        Returns a list of all registered models, or just concrete
        registered models.
        """
        return [model for (model, opts) in self._registry.items()
                if opts.registered and (not model._meta.abstract or abstract)]
def get_registered_models ( self , abstract = True ) : return [ model for ( model , opts ) in self . _registry . items ( ) if opts . registered and ( not model . _meta . abstract or abstract ) ]
Returns a list of all registered models, or just concrete
        registered models.