Closed RustyTaint666 closed 9 months ago
Patches accepted
But it looks like you’re using an old version of the package
The problematic import exists here: venv/Lib/site-packages/session_security/urls.py
I think that this file needs to be updated to support django 4: https://github.com/yourlabs/django-session-security/blob/master/session_security/urls.py
never mind. I think I see the correct import on master. weird. I have this version 2.6.7 installed
maybe something cached old lib. I will check. thank you for the quick response
yep. old lib was cached. my bad lol. thank you for the help.
I recently upgraded a project to django 4.2, and now I am running into an import error in the session_security project. Here is the import error: session_security\urls.py", line 18, in
from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls'
django.conf.urls has been deprecated and removed in django 4. Is there any way around this currently or is a code change required?