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.
Django1.5 のドキュメントには、related_name. 最後のパラグラフは、「Django で後方関係を作成したくない場合は、'+' に設定related_nameするか、'+' で終了します。
related_name
たとえば、これにより、 User モデルがこのモデルと後方関係を持たないことが保証されます: user = models.ForeignKey(User, related_name='+'). 「+」はいつ使用すればよいrelated_nameですか?
user = models.ForeignKey(User, related_name='+')