def _get_real_func(func):
    if inspect.ismethod(func):
        return func.__func__
    else:
        return func
Import all `ddp` submodules from `settings.INSTALLED_APPS`.
dataset/ETHPy150Open adamchainz/patchy/patchy/api.py/_get_real_func--crossover with--dataset/ETHPy150Open django-ddp/django-ddp/dddp/__init__.py/autodiscover