Browse files

Fixed #14189 - permalink docs import mistake

Thanks to 7times9 for report and patch.

Backport of [13666] from trunk

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent dde1f13 commit 57e6ee8507ba4311888bc35ebbea0b6f50516e5a @spookylukey spookylukey committed Aug 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
def get_absolute_url(self):

0 comments on commit 57e6ee8

Please sign in to comment.