#NEWLINE# def unregister( self , model_or_iterable ) : #NEWLINE# #INDENT# "\n        Unregisters the given model(s).\n\n        If a model isn't already registered, this will raise NotRegistered.\n        " #NEWLINE# if isinstance ( model_or_iterable , BaseHealthCheckBackend ) : #NEWLINE# #INDENT# model_or_iterable = [ model_or_iterable ] #NEWLINE# #UNINDENT# for model in model_or_iterable : #NEWLINE# #INDENT# if ( model not in self . _registry ) : #NEWLINE# #INDENT# raise NotRegistered ( ( 'The model %s is not registered' % model . __name__ ) ) #NEWLINE# #UNINDENT# del self . _registry [ model ]