1
まず場合、このdjangoアプリケーションモデルの構築には、著しいパフォーマンスの違いはありますか?
app_1 - post_model_1
app_2 - post_model_2 (has Foreign Key Field to post_model_1)
app_3 - post_model_3 (has Foreign Key Field to post_model_1)
後者の場合、
app_1 - post_model_1,
post_model_2 (has Foreign Key Field to post_model_1),
post_model_3 (has Foreign Key Field to post_model_1),
私はForeignKeyField、
を使用してpost_model_1する(それはpost_model_2、またはpost_model_3あるものは何でも)すべての関連記事を得るようなクエリセットない場合ファーストケースとセカンドケースの違いはありますか?
これは高速ですか?
ありがとうございます!それは助けられる。 – touchingtwist