Closed lc-thomas closed 6 months ago
Just found the solution, re_path still exists, it has just been moved from django.conf.urls
to django.urls
So
from django.conf.urls import include, re_path
should be replaced with :
from django.urls import include, re_path
Yea, the correct import should be
from django.urls import include, re_path
Fixed, thank you.
Installing and configuring rosetta using the docs instructions fails with urls.py :
ImportError: cannot import name 're_path' from 'django.conf.urls'
I thought it had to be replaced by 'path' but I still cannot get it to work...