def swappable_dependency(value):
    return SwappableTuple((value.split(".", 1)[0], "__first__"), value)
Turns a setting value into a dependency.
dataset/ETHPy150Open django/django/django/db/migrations/migration.py/swappable_dependency