diff options
| author | Tim Graham <timograham@gmail.com> | 2012-10-16 20:53:53 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-10-16 20:53:53 -0400 |
| commit | 33d11463a0b9258ac0c72fd856b6d42512616e8d (patch) | |
| tree | d5bd9ab6ed3cf6cb09529a243b529c60e116ee10 | |
| parent | 6ebb6f918872c2a714ddb9808984e70daaa95cd8 (diff) | |
[1.4.x] Fixed a couple links that didn't backport cleanly
| -rw-r--r-- | docs/topics/http/urls.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 30ae208313..347b447292 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -56,7 +56,7 @@ algorithm the system follows to determine which Python code to execute: 4. Once one of the regexes matches, Django imports and calls the given view, which is a simple Python function (or a :doc:`class based view - </topics/class-based-views/index>`). The view gets passed an + </topics/class-based-views>`). The view gets passed an :class:`~django.http.HttpRequest` as its first argument and any values captured in the regex as remaining arguments. @@ -674,7 +674,7 @@ The style you use is up to you. Note that if you use this technique -- passing objects rather than strings -- the view prefix (as explained in "The view prefix" above) will have no effect. -Note that :doc:`class based views</topics/class-based-views/index>` must be +Note that :doc:`class based views</topics/class-based-views>` must be imported:: from mysite.views import ClassBasedView |
