Circular Import Problem Between Apps Django.How

Author avatar wrote on 08/06/2022

ImportError: cannot import name ‘Customer’ from partially initialized module ‘translation.models’
(most likely due to a circular import)

To use in model fields

Instead of import from another app link to it directly App.Model

    item_file = models.ForeignKey('tms.File', on_delete=models.CASCADE, null=True, blank=True)

To use in model's methods

from django.apps import apps
ModelName = apps.get_model(app_label='app_name', model_name='ModelName')