call the function warnings.warn with 3 arguments: string 'import_by_path() has been deprecated. Use import_string() instead.',
warnings . warn ( 'import_by_path() has been deprecated. Use import_string() instead.' , RemovedInDjango19Warning , stacklevel = 2 )