Django Book 翻译
菜单>:
TOC
返回
原文:
The problem with that solution, though, is that it couples your URLs to your code. If you decide to rename ``/foo/`` to ``/fooey/`` , youll have to remember to change the view code.
翻译:
这种解决方案的问题还是老缺点,就是把你的URL耦合进你的代码里面了。如果你打算把 ``/foo/`` 改成 ``/fooey/`` 的话,那么你就得记住要去改变视图里面的代码。
备注:
译者: