Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロジェクト内の特定の Django アプリにあるモデルの名前をループで自動的に取得したいと思います。誰かがそれを行う方法を知っていますか?
よろしくお願いします
ギヨーム
from django.db import get_models, get_app app = get_app('myappname') models = get_models(app)