from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^webinfo/', include('webinfo.urls')),
url(r'^admin/', admin.site.urls),
]
ImportError: cannot import name 'url' from 'django.conf.urls' (D:\Anaconda3\lib\site-packages\django\conf\urls_init_.py)
, The result is the same . My version is Django4.0, According to the online statement, it can't be replaced
August 09, 2021 - 15:46:28
Django version 3.1.13, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.