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 4.0 forward compatibility Error #73

Open
yeop-sang opened this issue Aug 18, 2022 · 1 comment
Open

Django 4.0 forward compatibility Error #73

yeop-sang opened this issue Aug 18, 2022 · 1 comment

Comments

@yeop-sang
Copy link
Contributor

I have a trouble about ImportError: cannot import name 'url' from 'django.conf.urls' and ModuleNotFoundError: No module named 'pyexcel.ext'

  1. ImportError: cannot import name 'url' from 'django.conf.urls'

According to stack overflow, I can downgrade Django version for 3.x.x to handle this error.

So, I suggest to replace url with re_path and substitute Django>=2.0 for Django>=1.6.1. Because re_path is added in Django 2.0 version.

  1. When the test run, ModuleNotFoundError: No module named 'pyexcel.ext'

According to pyexcel issue, pyexcel.ext.* is deprecated. Docs Deprecated Alert

The module named xlrd which is needed from pyexcel_xls module doesn't support .xlsx files since 1.3.0 version. Then, test_requirments.txt needs to add line xlrd<=1.2.0.

@carlosvega
Copy link

Any news?

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

2 participants