Django with python 3.12 ImportError

ImportError: cannot import name ‘url’ from ‘django.conf.urls’ (/usr/local/lib/python3.12/site-packages/django/conf/urls/ Did you mean: ‘urls’?

I tried latest v4 and latest v5 both had same errors.

How’re trying to import the url name?

I don’t import it but the error comes from the Django itself importing it, the whole project just used from django.urls import path