adamchainz / django-cors-headers

Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'urlparse' - Python3 Error

zacpour opened this issue · comments

Every instance of "from urlparse import urlparse" in the code needs to be updated to "from urllib.parse import urlparse" for Python3.

This has already been done years ago.