1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

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
This commit is contained in:
Luke Plant 2010-08-30 10:31:56 +00:00
parent dde1f13315
commit 57e6ee8507

View File

@ -515,7 +515,7 @@ the ``url`` function)::
...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:: of the view name::
from django.db.models import permalink from django.db import models
@models.permalink @models.permalink
def get_absolute_url(self): def get_absolute_url(self):