django_events_sourcing/register.py
def register_models(models_list=None):
    """
    Registers Models to be able to dispatch events using django_events_sourcing.

    This list should be created in settings file using the setting name of
    MODELS_CRUD_EVENT.

    If models_list is not empty, it will only register those passed in the
    argument.

    :param models_config_list: list
    """
    for model_data in settings.MODELS_CRUD_EVENT:
        if models_list and not model_data['model'] in models_list:
            continue
        _register_model_to_signals(model_data['model'])

    Registers Models to be able to dispatch events using django_events_sourcing.

    This list should be created in settings file using the setting name of
    MODELS_CRUD_EVENT.

    If models_list is not empty, it will only register those passed in the
    argument.

    :param models_config_list: list
    
Registers Models to be able to dispatch events using django_events_sourcing.
This list should be created in settings file using the setting name of
MODELS_CRUD_EVENT.

If models_list is not empty, it will only register those passed in the
argument.
Registers Models to be able to dispatch events using django_events_sourcing . This list should be created in settings file using the setting name of MODELS_CRUD_EVENT . If models_list is not empty it will only register those passed in the argument .
def register_models(models_list=None):
    for model_data in settings.MODELS_CRUD_EVENT:
        if models_list and not model_data['model'] in models_list:
            continue
        _register_model_to_signals(model_data['model'])
def register_models ( models_list = None ) : for model_data in settings . MODELS_CRUD_EVENT : if models_list and not model_data [ 'model' ] in models_list : continue _register_model_to_signals ( model_data [ 'model' ] )
Registers Models to be able to dispatch events using django_events_sourcing.
Registers Models to be able to dispatch events using django_events_sourcing .
"""
    Registers Models to be able to dispatch events using django_events_sourcing.

    This list should be created in settings file using the setting name of
    MODELS_CRUD_EVENT.

    If models_list is not empty, it will only register those passed in the
    argument.

    :param models_config_list: list
    """
models_list
models_config_list
None