mozilla/django-csp

ModuleNotFoundError: No module named 'django.utils.six' with django 3.0

Closed this issue · 1 comments

Hi guys,

I just tried to start my project on django 3.0 and the middleware fails with this error:

File "[...]/lib/site-packages/csp/middleware.py", line 8, in
from django.utils.six.moves import http_client
ModuleNotFoundError: No module named 'django.utils.six'

Seems that you rely on the dropped six feature from django.

Best
Ronny

Sorry guys, just saw that I missed the latest version. 🙈