Python manage.py makemigrations выводит ошибку

System CheckError: System check identified some issues:

ERRORS: ?: (urls.E004) Your URL pattern (<module 'chat.urls' from 'D:\djangoproject\web_ chat\chat\urls.py'>, None, None) is invalid. Ensure that urlpatterns is a list o f path() and/or re_path() instances. HINT: Try using path() instead of a tuple.

Вернуться на верх