Django circular import and model issue

Viewed 3665

I have two Django models.py in two different apps.

processor app models.py

from address.models import Address
...defining clasess
class Displayble(models.Model):
 # It has no DB fields

address app models.py

from processor.models import Displayable
class Address(models.Model, Displayble):
...some fields, stored in DB

Is moving Dispalyble class to another file is the only option to resolve this dependency?

1 Answers
Related