Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 3 dropped support to django.utils.six #2

Open
DhanarSantika opened this issue Dec 29, 2019 · 3 comments
Open

Django 3 dropped support to django.utils.six #2

DhanarSantika opened this issue Dec 29, 2019 · 3 comments

Comments

@DhanarSantika
Copy link

No description provided.

@satraul
Copy link
Member

satraul commented Jan 8, 2020

i assume this is the only usage

service = urllib_parse.urlunparse((protocol, host, request.path, "", "", ""))

any alternative?

@advistasyam
Copy link

Django versi 3 memang susah tidak support django.utils.six tetapi ada solusi yang saya tawarkan untuk menyelesaikan masalah ini untuk bisa melanjutkan project dengan tetap menggunakan django 3,

  1. Pertama pip install six pada environtment project, ini merupakan module 3rd party yang memiliki fungsi yang sama dengan django.utils.six
  2. Pada django-sso-ui/utils.py Line 5 : from django.utils.six.moves import urllib_parse dirubah menjadi
    from six.moves import urllib_parse

sekarang module django_sso_ui dapat dijalankan pada framework django 3

nb = solusi ini terbuka untuk diskusi lebih lanjut apabila ada kesalahan atau perubahan di masa yang akan datang

@satraul
Copy link
Member

satraul commented Jun 19, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants