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)
,結果還是一樣。我版本是Django4.0,按照網上的說法替換了也不行
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.
在運行django項目時,出現了raise Improper
letter-level language model -