From 57e6ee8507ba4311888bc35ebbea0b6f50516e5a Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 30 Aug 2010 10:31:56 +0000 Subject: [PATCH] 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 --- docs/ref/models/instances.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):