{{{
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module
'blog.urls'
from '.../my_project/blog/urls.py'>' does not
appear to have any patterns in it. If you see valid patterns in the file
then the
issue is probably caused by a circular import.
}}}
The problem is not with a circular import, but with the mispelled
`urlpatterns` variable itself, so I'm doing this ticket.
OBS.: I have already created a pull request for this:
https://github.com/django/django/pull/14453
I appreciate any feedback.
Thanks,
Igor
--
Ticket URL: <https://code.djangoproject.com/ticket/32870>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Igor Kuivjogi Fernandes
* status: new => assigned
* has_patch: 0 => 1
* type: Uncategorized => Cleanup/optimization
Comment:
[https://github.com/django/django/pull/14453 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32870#comment:1>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Agreed, we can improve an error message.
--
Ticket URL: <https://code.djangoproject.com/ticket/32870#comment:2>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32870#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e85d9c02ad1ef8988c149bad905fbc5b98a38594" e85d9c02]:
{{{
#!CommitTicketReference repository=""
revision="e85d9c02ad1ef8988c149bad905fbc5b98a38594"
Fixed #32870 -- Improved error message when URLconf is empty.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32870#comment:4>