Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14189 closed (fixed)

permalink docs import mistake

Reported by: 7times9 Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: import
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The first example has:

from django.db import models

@models.permalink
def get_absolute_url(self):

which is fine. But

from django.db.models import permalink

@models.permalink
def get_absolute_url(self):

won't work. Patch makes consistent with first example.

Attachments (1)

permalink-import.diff (458 bytes) - added by 7times9 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by 7times9

comment:1 Changed 5 years ago by lrekucki

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Good catch.

comment:2 Changed 5 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed

(In [13666]) Fixed #14189 - permalink docs import mistake

Thanks to 7times9 for report and patch.

comment:3 Changed 5 years ago by lukeplant

(In [13667]) Fixed #14189 - permalink docs import mistake

Thanks to 7times9 for report and patch.

Backport of [13666] from trunk

Note: See TracTickets for help on using tickets.
Back to Top