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
This commit is contained in:
Luke Plant 2010-08-30 10:29:44 +00:00
parent 20fb7c7858
commit 58c8d92334
1 changed files with 1 additions and 1 deletions

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):