#14189 closed (fixed)
permalink docs import mistake
Reported by: | TomV | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | import | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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)
Change History (4)
by , 14 years ago
Attachment: | permalink-import.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
Good catch.