mirror of https://github.com/django/django.git
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:
parent
20fb7c7858
commit
58c8d92334
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue