I ran python manage.py makemigrations customers stores catalogue and then python manage.py migrate that solved the problem of circular dependency between these three models