diff --git a/docs/migrate_from_original_import_export.rst b/docs/migrate_from_original_import_export.rst index f9c664c..36cf3e7 100644 --- a/docs/migrate_from_original_import_export.rst +++ b/docs/migrate_from_original_import_export.rst @@ -4,7 +4,7 @@ Migrate from original `django-import-export` package If you're already using ``django-import-export`` and want to take advantage of ``django-import-export-extensions`` for background import/export, the transition is simple. First, -install the package following the provided :ref:`the instruction`. +install the package by following the :ref:`the installation guide`. Then, all you need to do is update the base classes for your resource and admin models. Migrate resources @@ -109,3 +109,9 @@ number of rows and the number of rows that have been completed. 'EXPORTED' >>> export_job.data_file.path '../media/import_export_extensions/export/3dfb7510-5593-4dc6-9d7d-bbd907cd3eb6/Artists-2020-02-22.csv' + +Other configuration +------------------- + +You may need to configure `MEDIA_URL `_ in your +project settings, otherwise you may see a 404 error when attempting to download exported files. diff --git a/import_export_extensions/templates/admin/import_export_extensions/celery_import_results.html b/import_export_extensions/templates/admin/import_export_extensions/celery_import_results.html index 7b28486..8e67406 100644 --- a/import_export_extensions/templates/admin/import_export_extensions/celery_import_results.html +++ b/import_export_extensions/templates/admin/import_export_extensions/celery_import_results.html @@ -169,9 +169,9 @@

{% trans "Totals" %}

{% if import_job.import_status == "PARSED" %} - {% trans "These elements will be imported successfully" %} + {% trans "These elements will be imported" %} {% elif import_job.import_status == "IMPORTED"%} - {% trans "These elements are imported successfully" %} + {% trans "These elements were imported successfully" %} {% endif %}