[1.7.x] Removed usage of deprecated django.utils.importlib.
[1.7.x] Removed usage of deprecated django.utils.importlib.

Backport of 1e84d261d6 from master

jyotsna1820/django,oscaro/django,oscaro/django,jyotsna1820/django,oscaro/django,oscaro/django,jyotsna1820/django,jyotsna1820/django