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

Depreciation warnings #6615

Closed
botanicvelious opened this Issue Feb 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@botanicvelious
Copy link

botanicvelious commented Feb 15, 2019

Summary

Warnings when running with -Wall

C:\Python36\lib\site-packages\cms\utils\apphook_reload.py:14: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  from imp import reload
C:\Python36\lib\site-packages\cms\utils\apphook_reload.py:14: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  from imp import reload

Expected behavior

No depreciation warnings.

Actual behavior

apphook_reload.py is using imp and needs to use importlib

Environment

Python 3.6.8
django 2.1.7
django-cms 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.