- ModelsMixin2.add_model_collection(models, domain='all', regen_mode='deferred')#
collectionof several models at once
models (dict) – The collection of models to add.
regen_mode (str) – By default the models are not regenerated upon addition. See the docstring for
add_modelfor more information.
domain (str) – The label indicating which locations the supplied collection of models should be applied to.
Collections are dictionaries that are formatted the same as
obj.models. Several model collections are available in