#32565: Extract URL resolver view strings mapping to admindocs
------------------------------------------------+------------------------
Reporter: Adam Johnson | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (URLs) | 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 |
------------------------------------------------+------------------------
From discussion with Nick Pope:
https://github.com/django/django/pull/14138#discussion_r595911054
`URLResolver._is_callback()` , `URLResolver._callback_strs`, and
`URLPattern.lookup_str` all exist only to power `django.contrib.admindocs`
functionality, and are all private attributes. The functionality they
provide could be extracted into `admindocs` to avoid the overhead of
storing extra strings per URL in projects not using admindocs (in my
experience, that is most projects).
--
Ticket URL: <https://code.djangoproject.com/ticket/32565>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.fda1a64c9864befebd6cf022786ebb81%40djangoproject.com.