shishi6shu/backend/models/__init__.py

5 lines
226 B
Python
Raw Normal View History

2024-08-23 19:01:27 +08:00
from . import admin, products # 导入所有包含模型的子模块
from .admin import Base # 导入 admin 模块中的 Base
# models/products/__init__.py
from .products import Base # 导入 products 模块中的 Base