Ticket #14189: permalink-import.diff

File permalink-import.diff, 458 bytes (added by 7times9, 5 years ago)
  • docs/ref/models/instances.txt

     
    515515...and then using that name to perform the reverse URL resolution instead
    516516of the view name::
    517517
    518     from django.db.models import permalink
     518    from django.db import models
    519519
    520520    @models.permalink
    521521    def get_absolute_url(self):
Back to Top