ImportError cannot import name path from djangoconfurls usrlocallibpython39site-packagesdjangoconfurls__init__py
This error occurs when you try to import the path function from the django.conf.urls module but it cannot be found.
The path function was introduced in Django 2.0 as a new way to define URL patterns. If you are using an older version of Django, you will need to use the url function instead.
To fix the error, check that you are using Django 2.0 or later and update your code to use the path function instead of url. If you are using an older version of Django, you can either upgrade to a newer version or use the url function instead
原文地址: https://www.cveoy.top/t/topic/g0y4 著作权归作者所有。请勿转载和采集!