diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-09 19:27:12 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-09 19:27:12 -0500 |
| commit | cd5e1437ebe1683d5fc71858fa4057a4febcebeb (patch) | |
| tree | 3a5972bb019ea8370926542b389a31b5fe296ac6 | |
| parent | c9ec44acf513611e093fcf05b4013169d04af947 (diff) | |
| download | pyramid-cd5e1437ebe1683d5fc71858fa4057a4febcebeb.tar.gz pyramid-cd5e1437ebe1683d5fc71858fa4057a4febcebeb.tar.bz2 pyramid-cd5e1437ebe1683d5fc71858fa4057a4febcebeb.zip | |
fix example
| -rw-r--r-- | pyramid/request.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/request.py b/pyramid/request.py index 35c75f596..6c9a1e421 100644 --- a/pyramid/request.py +++ b/pyramid/request.py @@ -212,13 +212,13 @@ class Request(WebobRequest): This call to :meth:`pyramid.request.Request.model_url`:: - request.route_url(mymodel) + request.model_url(mymodel) Is completely equivalent to calling :func:`pyramid.url.model_url` like this:: from pyramid.url import model_url - route_url(model, request) + model_url(model, request) """ return model_url(model, self, *elements, **kw) |
