Hi Daniel,

On 11/18/2014 02:01 AM, Daniel Grace wrote:
> Hi,
> I get another warning / error with a test command as follows:
>>python -W error manage.py test flow
> Traceback (most recent call last):
>   File "manage.py", line 8, in <module>
>     from django.core.management import execute_from_command_line
>   File "C:\landy\lib\site-packages\django\core\management\__init__.py",
> line 8,
> in <module>
>     from django.apps import apps
>   File "C:\landy\lib\site-packages\django\apps\__init__.py", line 1, in
> <module>
> 
>     from .config import AppConfig   # NOQA
>   File "C:\landy\lib\site-packages\django\apps\config.py", line 5, in
> <module>
>     from django.utils.module_loading import module_has_submodule
>   File "C:\landy\lib\site-packages\django\utils\module_loading.py", line
> 4, in <
> module>
>     import imp
>   File "C:\Python34\lib\imp.py", line 32, in <module>
>     PendingDeprecationWarning)
> PendingDeprecationWarning: the imp module is deprecated in favour of
> importlib;
> see the module's documentation for alternative uses

This is an issue that needs to be fixed in Django; see
https://code.djangoproject.com/ticket/21628

Until it is fixed in Django, I'm afraid there's not much you can do
about it other than ignore these warnings for now.

Carl

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to