def dict_merge(a, b):
    if not isinstance(b, dict):
        return b
    result = deepcopy(a)
    for k, v in b.iteritems():
        if k in result and isinstance(result[k], dict):
                result[k] = dict_merge(result[k], v)
        else:
            result[k] = deepcopy(v)
    return result


# Nod to DRF for their settings, added dict_merge with deep copy to make it work with our use case
Try to send a submit_sm to server when BOUND_RX
dataset/ETHPy150Open ofpiyush/hedwig-py/hedwig/core/settings.py/dict_merge--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_smpp_server.py/MessagingTestCases.test_messaging_rx