#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
-------------------------------+--------------------------------------

Comment (by VJ Magar):

 Replying to [comment:2 Mariusz Felisiak]:
 > The `django.conf.urls.url` alias was deprecated in Django 3.1 and
 removed in Django 4.0.

 Hey Mariusz Felisiak,

 I knew that `django.conf.urls.url` was removed in Django 4.0. However, I
 was getting this error when setup the new django project.
 It turns out that I had accidentally used older version of Django (some
 old django from global space).

 Thanks for quickly marking this issue as invalid. It saved few hours of
 mine

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34471#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701875a78544c-29f27f18-ebba-4802-bd39-b0370f28c13c-000000%40eu-central-1.amazonses.com.

Reply via email to