Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#34650 closed New feature (duplicate)

Document django.shortcuts.resolve_url()

Reported by: Adam Johnson Owned by: nobody
Component: Utilities Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This function does most of the work for the redirect() shortcut. It's been around since a78dd109e6c81c49e90e36e9b793bad67c46c23c (2012-09-08) and is useful to call on its own when constructing a different kind of redirect response, such as 303, 307, or an htmx JavaScript redirect.

Documenting resolve_url() would make it part of Django's dependable public API.

Change History (2)

comment:1 by David Smith, 18 months ago

Resolution: duplicate
Status: newclosed

This appears to be a duplicate #30515. #33032 was also opened with the same issue and was closed as a duplicate.

comment:2 by Adam Johnson, 18 months ago

Ah my bad, and I even replied to the original 🙈

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