Skip to content

Commit

Permalink
Merge pull request #70 from matthewhegarty/doc-updates
Browse files Browse the repository at this point in the history
Minor documentation updates
  • Loading branch information
Eg0ra authored Dec 25, 2024
2 parents cbae73e + 3254cfa commit d37ad74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/migrate_from_original_import_export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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<Installation and configuration>`.
install the package by following the :ref:`the installation guide<Installation and configuration>`.
Then, all you need to do is update the base classes for your resource and admin models.

Migrate resources
Expand Down Expand Up @@ -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 <https://docs.djangoproject.com/en/stable/ref/settings/#media-url>`_ in your
project settings, otherwise you may see a 404 error when attempting to download exported files.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ <h2>{% trans "Totals" %}</h2>
</div>
<h2>
{% 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 %}
</h2>
<table class="import-preview">
Expand Down

0 comments on commit d37ad74

Please sign in to comment.