importlib does not exist on Python 2.6. Use Django version.

Fixed support for Django on Python 2.6.