joke2k / django-environ

Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
https://django-environ.rtfd.org
MIT License
2.96k stars 315 forks source link

Use importlib.util.find_spec to replace pkgutil.find_loader #482

Closed wongcht closed 10 months ago

wongcht commented 10 months ago

Aim: suppress the warning in #479

importlib.util.find_spec is available from python 3.4, so it is compatible with python 3.6+

sergeyklay commented 10 months ago

Thank you!