Commit 57e6ee85 authored by Luke Plant's avatar Luke Plant
Browse files

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
parent dde1f133
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):