aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/routers.py
diff options
context:
space:
mode:
authorTom Christie2013-04-26 15:09:55 +0100
committerTom Christie2013-04-26 15:11:11 +0100
commit018d8b8dced31309196496e625cf8a746b98d65e (patch)
tree1bc6d49dc8366233fff62feb577de168fb45bd0a /rest_framework/routers.py
parent8fa79a7fd38dda015afa658084361c6da2856e46 (diff)
downloaddjango-rest-framework-018d8b8dced31309196496e625cf8a746b98d65e.tar.bz2
Bits of cleanup
Diffstat (limited to 'rest_framework/routers.py')
-rw-r--r--rest_framework/routers.py2
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