Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 58c8d9233479b4cc906f3598391123df393b0b8a 1 parent 20fb7c7
@spookylukey spookylukey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/instances.txt
View
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.