From 58c8d9233479b4cc906f3598391123df393b0b8a Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 30 Aug 2010 10:29:44 +0000 Subject: [PATCH] Fixed #14189 - permalink docs import mistake Thanks to 7times9 for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13666 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):