#34650: Document django.shortcuts.resolve_url() ----------------------------------------+------------------------ Reporter: Adam Johnson | Owner: nobody Type: New feature | Status: new Component: Utilities | Version: dev Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ----------------------------------------+------------------------ 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 [https://django- htmx.readthedocs.io/en/latest/http.html#django_htmx.http.HttpResponseLocation an htmx JavaScript redirect].
Documenting `resolve_url()` would make it part of Django's dependable public API. -- Ticket URL: <https://code.djangoproject.com/ticket/34650> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070188b1801067-5634d3db-2258-4ed4-9092-876e8fb2496a-000000%40eu-central-1.amazonses.com.