as you can see in the docs, for exactly this reason it is possible to specify the foreign model as a string.
team = models.ForeignKey('Team')
as you can see in the docs, for exactly this reason it is possible to specify the foreign model as a string.
team = models.ForeignKey('Team')