Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#32755 closed Bug (fixed)

Correct broken example for Model.get_absolute_url()

Reported by: aruseni Owned by: Girish Sontakke
Component: Documentation Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by aruseni)

Currently, in the example for get_absolute_url() in the documentation, a view path string is passed to reverse(). But this is not supported since Django 1.10.

Change History (6)

comment:1 by aruseni, 3 years ago

Description: modified (diff)

comment:2 by Tim Graham, 3 years ago

Component: UncategorizedDocumentation
Easy pickings: set
Summary: Update example for get_absolute_url() in the documentationCorrect broken example for Model.get_absolute_url()
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:3 by Girish Sontakke, 3 years ago

Owner: changed from nobody to Girish Sontakke
Status: newassigned

comment:4 by Mariusz Felisiak, 3 years ago

Has patch: set

comment:5 by GitHub <noreply@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In 27d4573d:

Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.

comment:6 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

In 65b680a9:

[3.2.x] Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.

Backport of 27d4573d35935bff83c28bfd68a2ce5a7a6c600a from main

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