Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor documentation updates #70

Merged
merged 9 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading