diff options
| author | Brian Rosner <brosner@gmail.com> | 2008-06-26 15:42:33 +0000 |
|---|---|---|
| committer | Brian Rosner <brosner@gmail.com> | 2008-06-26 15:42:33 +0000 |
| commit | c8da0874c78ed4c6e1ad08cc78228799a333f76c (patch) | |
| tree | bef645a8eb2c1a17f013a1031ed34494547dced0 /docs/model-api.txt | |
| parent | f15845c573f019fc7f6d7404add122f9b7c52dc4 (diff) | |
newforms-admin: Merged from trunk up to [7766].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
| -rw-r--r-- | docs/model-api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 6dc2d0835a..02a9fd2d95 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1544,7 +1544,7 @@ the ``url`` function):: 'django.views.generic.list_detail.object_detail', name='people_view'), -and then using that name to perform the reverse URL resolution instead +...and then using that name to perform the reverse URL resolution instead of the view name:: from django.db.models import permalink @@ -1553,7 +1553,7 @@ of the view name:: return ('people_view', [str(self.id)]) get_absolute_url = permalink(get_absolute_url) -More details on named URL patterns can be found in `URL dispatch documentation`_. +More details on named URL patterns are in the `URL dispatch documentation`_. .. _URL dispatch documentation: ../url_dispatch/#naming-url-patterns |
