Django – Circular model import issue

Remove the import of Theme and use the model name as a string instead.

theme = models.ForeignKey('themes.Theme')

Leave a Comment