diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-03 04:45:23 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-03 04:45:23 +0000 |
| commit | bb97eea9ec88978ecd5dca0a17d9b3ba344f9152 (patch) | |
| tree | 452049c9841e7adcfe3051488135f7873b81db3e /docs/url_dispatch.txt | |
| parent | 554f4e7aa8a3ffe65cac3b6698906c06e7db4fe6 (diff) | |
unicode: Merged from trunk up to [5418].
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/url_dispatch.txt')
| -rw-r--r-- | docs/url_dispatch.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/url_dispatch.txt b/docs/url_dispatch.txt index 1a2efe605a..402b1200b5 100644 --- a/docs/url_dispatch.txt +++ b/docs/url_dispatch.txt @@ -564,10 +564,11 @@ code, Django provides the ``django.core.urlresolvers.reverse()``. The reverse(viewname, urlconf=None, args=None, kwargs=None) -The view name is either the function name or the `URL pattern name`_. -Normally you will not need to worry about the ``urlconf`` parameter and will -only pass in the positional and keyword arguments to use in the url matching. -For example:: +``viewname`` is either the function name (either a function reference, or the +string version of the name, if you used that form in ``urlpatterns``) or the +`URL pattern name`_. Normally, you won't need to worry about the +``urlconf`` parameter and will only pass in the positional and keyword +arguments to use in the URL matching. For example:: from django.core.urlresolvers import reverse |
