Merge pull request #263 from tkamenoko/patch-3

fix docstring of `API.url_for`
This commit is contained in:
2018-12-29 07:05:05 -05:00
committed by GitHub
+1 -1
View File
@@ -562,7 +562,7 @@ class API:
# TODO: Absolute_url
"""Given an endpoint, returns a rendered URL for its route.
:param view: The route endpoint you're searching for.
:param endpoint: The route endpoint you're searching for.
:param params: Data to pass into the URL generator (for parameterized URLs).
"""
route_object = self._route_for(endpoint)