AusDTO / disco_layer

Code, outputs and Information relevant to the discovery layer.
1 stars 5 forks source link

celery_haystack throws annoying warning #74

Open monkeypants opened 9 years ago

monkeypants commented 9 years ago

Test suite (end else ware) raises an annoying warning:

celery_haystack/utils.py:2: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9. from django.utils.importlib import import_module

According to this conversation:

http://stackoverflow.com/questions/29931979/recommended-practice-for-using-import-module-in-django-1-8

it should be patched to use importlib.import_module for python 2.7 and later, and possibly fall back to django.utils.importlib.import_module for earlier versions.