Cannot import name 'url' from 'django.conf.urls'.PYTHON(DJANGO)

preview_player
Показать описание
check django version : - `django-admin --version `

was deprecated in Django 3.0, and is removed in Django 4.0+.
The easiest fix is to replace url() with re_path().
re_path uses regexes like url,
so you only have to update the import and replace url with
re_path or path.
for fix this change url function and use path()

Welcome to BUGBUG youtube channel.BUGBUG is a detector who stuck on development. This channel upload videos and other based on common errors and its solution. Let's start for develop new world through our Business.
Рекомендации по теме
Комментарии
Автор

mera toh abhi bhi fix nii hua yeh bhi kr liya virtual environment ki wajah se toh nii ho rha

magic_bee_tarot
Автор

?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace. I got this error how to solve it sir

ragulnishanth
welcome to shbcf.ru