title: ImportError: cannot import name 'url' from 'django.conf.urls' after upgrading to Django 4.0
body: <p>After upgrading to Django 4.0, I get the following error when running <code>python manage.py runserver</code></p>
  <pre><code>  ...
    File &quot;/path/to/myproject/myproject/urls.py&quot;, line 16, in &lt;module&gt;
      from django.conf.urls import url
  ImportError: cannot import name 'url' from 'django.conf.urls' (/path/to/my/venv/lib/python3.9/site-packages/django/conf/urls/__init__.py)
  </code></pre>
  <p>My urls.py is as follows:</p>
  <pre><code>from django.conf.urls
  
  from myapp.views import home
  
  urlpatterns = [
      url(r'^$', home, name=&quot;home&quot;),
      url(r'^myapp/', include('myapp.urls'),
  ]
  </code></pre>