Django Book 翻译
菜单>:
TOC
返回
原文:
If ``Site``s play a key role in your application, consider using the helpful ``CurrentSiteManager`` in your model(s). Its a model manager (see Appendix B) that automatically filters its queries to include only objects associated with the current ``Site`` .
翻译:
如果 ``站点`` 在你的应用中扮演很重要的角色,请考虑在你的模型中使用方便的 ``CurrentSiteManager`` 。这是一个模型管理器(见附录B),它会自动过滤使其只包含与当前 ``站点`` 相关联的对象。
备注:
译者: