Re: [Django] #34471: Cannot import name 'url' from 'django.conf.urls' (was: ImportError: cannot import name 'url' from 'django.conf.urls')

0 views
Skip to first unread message

Django

unread,
Apr 7, 2023, 2:32:12 AM4/7/23
to django-...@googlegroups.com
#34471: Cannot import name 'url' from 'django.conf.urls'
-------------------------------+--------------------------------------
Reporter: VJ Magar | Owner: VJ Magar
Type: Bug | Status: closed
Component: Uncategorized | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: assigned => closed
* resolution: => invalid


Comment:

The `django.conf.urls.url` alias was deprecated in Django 3.1 and removed
in Django 4.0.

--
Ticket URL: <https://code.djangoproject.com/ticket/34471#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages