Handles import_string in Django 1.6.