diff options
Diffstat (limited to 'rest_framework/routers.py')
| -rw-r--r-- | rest_framework/routers.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/routers.py b/rest_framework/routers.py index 3a8c4508..33e88a81 100644 --- a/rest_framework/routers.py +++ b/rest_framework/routers.py @@ -29,7 +29,7 @@ Route = namedtuple('Route', ['url', 'mapping', 'name', 'initkwargs'])  def replace_methodname(format_string, methodname):      """      Partially format a format_string, swapping out any -    '{methodname}'' or '{methodnamehyphen}'' components. +    '{methodname}' or '{methodnamehyphen}' components.      """      methodnamehyphen = methodname.replace('_', '-')      ret = format_string | 
