#14200: new RegexURLResolver is contructed for every request
-------------------------------------+-------------------------------------
Reporter: Suor | Owner: Suor
Type: | Status: new
Cleanup/optimization | Version: 1.2
Component: Core (Other) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: performance, | Needs documentation: 0
urlresolvers | Patch needs improvement: 1
Has patch: 1 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by claudep):
With this patch, setting request.urlconf to None would return a resolver
based on settings.ROOT_URLCONF instead of raising an !ImproperlyConfigured
exception. I have to say that I find this rather elegant and logic. Of
course, this should be documented (and the failing test fixed). Opinions?
--
Ticket URL: <https://code.djangoproject.com/ticket/14200#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.