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.utils.importlib deprecated #75

Closed
tayden opened this issue Aug 7, 2015 · 1 comment
Closed

django.utils.importlib deprecated #75

tayden opened this issue Aug 7, 2015 · 1 comment

Comments

@tayden
Copy link

tayden commented Aug 7, 2015

Getting warning:

C:\...\ratelimit\utils.py:9: RemovedInDjango19Warning:
django.utils.importlib will be removed in Django 1.9.
    from django.utils.importlib import import_module

My understanding is that this should just be changed to from importlib import import_module

Relevant docs link

@jsocol
Copy link
Owner

jsocol commented Aug 7, 2015

Please update to v0.6.0, which has this fixed:

https://github.com/jsocol/django-ratelimit/blob/master/ratelimit/compat.py

Sent from my phone, please excuse the occasional typo.

On Fri, Aug 7, 2015 at 4:41 PM, Taylor Denouden notifications@github.com
wrote:

Getting warning:
C:...\ratelimit\utils.py:9: RemovedInDjango19Warning:
django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
My understanding is that this should just be changed to from importlib import import_module

Relevant docs link

Reply to this email directly or view it on GitHub:
#75

@tayden tayden closed this as completed Aug 7, 2015
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