Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhegarty committed Jan 10, 2024
1 parent badffa4 commit bf45f8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/release_notes.rst
Expand Up @@ -91,7 +91,7 @@ selected items using an export admin action. However this meant that the export
possible to select the export resource. This has been fixed in v4 so that export workflow is now present when
exporting via the Admin UI action. For more information see :ref:`export documentation<export_via_admin_action>`.

Export Selected fields
Export selected fields
----------------------

The :ref:`export 'confirm' page<export_confirm>` now includes selectable fields for export.
Expand Down
10 changes: 5 additions & 5 deletions import_export/admin.py
Expand Up @@ -581,8 +581,8 @@ class ExportMixin(BaseExportMixin, ImportExportMixinBase):
"""
Export mixin.
This is intended to be mixed with django.contrib.admin.ModelAdmin
https://docs.djangoproject.com/en/dev/ref/contrib/admin/
This is intended to be mixed with
`ModelAdmin <https://docs.djangoproject.com/en/stable/ref/contrib/admin/>`_.
"""

#: template for change_list view
Expand All @@ -591,9 +591,9 @@ class ExportMixin(BaseExportMixin, ImportExportMixinBase):
export_template_name = "admin/import_export/export.html"
#: export data encoding
to_encoding = None
#: form class to use for the initial export step
#: Use :class:`~import_export.forms.ExportForm` if you would
#: like to disable selectable fields feature
#: Form class to use for the initial export step.
#: Assign to :class:`~import_export.forms.ExportForm` if you would
#: like to disable selectable fields feature.
export_form_class = SelectableFieldsExportForm

def get_urls(self):
Expand Down

0 comments on commit bf45f8f

Please sign in to comment.