Django Book 翻译
菜单>:
TOC
返回
原文:
If youre distributing a Django application, chances are that your users will want some degree of configuration. In this case, its a good idea to add hooks to your views for any configuration options you think people may want to change. You can use extra URLconf parameters for this purpose.
翻译:
如果你发布一个Django的应用,你的用户可能会希望配置上能有些自由度。这种情况下,为你认为用户可能希望改变的配置选项添加一些钩子到你的视图中会是一个很好的主意。你可以用额外URLconf参数实现。
备注:
译者: