#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.
Note:
See TracTickets
for help on using tickets.
This appears to be a duplicate #30515. #33032 was also opened with the same issue and was closed as a duplicate.