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