Django有俩个 app ,假设 app1 和 app2
在 app1 的models.py中:
from app02.models import Coupon
class Account:
pass
在app2的models.py中:
from app01.models import Account
class Coupon:
pass
2023-11-15 23:33:22
Django有俩个 app ,假设 app1 和 app2
在 app1 的models.py中:
from app02.models import Coupon
class Account:
pass
在app2的models.py中:
from app01.models import Account
class Coupon:
pass