Opened 5 years ago

Closed 5 years ago

#14188 closed (duplicate)

permalink docs import mistake

Reported by: 7times9 Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: import
Cc: Triage Stage: Unreviewed
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.

Change History (1)

comment:1 Changed 5 years ago by 7times9

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

sorry, dup submission.

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