def init_all_applications():
    """
    Forces import of all applications to ensure code is registered.
    """
    from django.db.models import get_apps, get_models
    for app in get_apps():
        try:
            get_models(app)
        except Exception:
            continue
