Hi Juanan,

`django-require` is a third party package so you don't want to make changes 
that way. Since it's just a future deprecation warning, you can safely 
ignore it. When we upgrade the version of Django we're using, we'll upgrade 
`django-require` accordingly.

-- 
George

On Monday, September 19, 2016 at 1:17:57 PM UTC-7, Juanan Pereira wrote:
>
> Hi, 
>
>  I'm gettings some warnings  [Eucalyptus.2, devstack] related to 
> importlib that are quite annoying: 
>
> /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4:
>  
>
> RemovedInDjango19Warning: django.utils.importlib will be removed in 
> Django 1.9. 
>
> In that file, I've tried to replace : 
>
>    from django.utils.importlib import import_module 
>
> with: 
>
>    from importlib import import_module 
>
> and it seems to work, avoiding the warning messages. 
>
> Is it such a simple solution a valid one or are there any other 
> pitfalls involved? 
>
> Thanks. 
>
> -- 
> Greetings, 
>
> Juanan Pereira 
>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/3d08d8e0-9392-4011-aa1c-89f44fc567bf%40googlegroups.com.

Reply via email to