#26155: Skip URL checks if settings.ROOTURL_CONF isn't defined
--------------------------------------+------------------------------------
Reporter: BuddyL | Owner: BuddyL
Type: Bug | Status: assigned
Component: Core (System checks) | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by BuddyL):
I don't think it would because when I set `settings.ROOT_URLCONF` to an
empty string it tries to run through the url resolver code which erros
because it can't find the app it is assigned to, or any urlpatterns as it
tries to resolve them.
I tried to tweak on what is returned where the ROOT_URLCONF is accessed,
and the few things I tried didn't help.
Here is where the code is trying to access the attribute and is throwing
the exception:
https://github.com/django/django/blob/1.9.1/django/core/urlresolvers.py#L147-L152
--
Ticket URL: <https://code.djangoproject.com/ticket/26155#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.41ab25f43bf748b3eeb380f7a406649e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.