summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2010-08-30 10:31:56 +0000
committerLuke Plant <L.Plant.98@cantab.net>2010-08-30 10:31:56 +0000
commit57e6ee8507ba4311888bc35ebbea0b6f50516e5a (patch)
tree118ba65260d063026b1bdfed2beda7a6c9459b41 /docs
parentdde1f13315e92266a1e411926ba4d372723f103a (diff)
Fixed #14189 - permalink docs import mistake
Thanks to 7times9 for report and patch. Backport of [13666] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index d007659301..8bb6cf9cc5 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -515,7 +515,7 @@ the ``url`` function)::
...and then using that name to perform the reverse URL resolution instead
of the view name::
- from django.db.models import permalink
+ from django.db import models
@models.permalink
def get_absolute_url(self):