check django version : - `django-admin --version `
cannot import name 'url' from django.conf.urls.
django.conf.urls.url
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.