Fixed #21674 -- Deprecated the import_by_path() function in favor of import_string().

https://code.djangoproject.com/ticket/21674