code: def dependency(app_label, model):
      
      from django.db.migrations import swappable_dependency
      return swappable_dependency(get_model_name(app_label, model))
docs: Returns a Django 1.7+ style dependency tuple for inclusion in
      migration.dependencies[]