Home > front end >  cannot import name 'url' from 'django.conf.urls'
cannot import name 'url' from 'django.conf.urls'

Time:01-08

I have been trying to makemigrations in my django project but I keep getting this error constanly even though I'm using path instead of url can someone please help me? The error is being caused by the froala_editor path but I don't understand why.

enter image description here enter image description here

CodePudding user response:

as per django docs here:

django.conf.urls.url() was deprecated since Django 3.1, and as per the release notes here, is removed in Django 4.0 .

so you cannot use fedora_editor with django 4

  •  Tags:  
  • Related