mirror of
https://github.com/django-import-export/django-import-export.git
synced 2025-12-11 03:33:59 +03:00
documented handling TooManyFieldsSent (#2103)
* documented handling TooManyFieldsSent * fixed link * corrected text and added link * updated text
This commit is contained in:
parent
9f21724374
commit
bdaef922eb
|
|
@ -230,6 +230,17 @@ It is possible to disable this extra step by setting the :ref:`import_export_ski
|
||||||
those items which users should be permitted to export.
|
those items which users should be permitted to export.
|
||||||
See :meth:`~import_export.admin.ExportMixin.get_export_queryset`.
|
See :meth:`~import_export.admin.ExportMixin.get_export_queryset`.
|
||||||
|
|
||||||
|
Exporting large datasets
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
If exporting large datasets via the :ref:`action<export_via_admin_action>` menu, you may see Django's
|
||||||
|
`SuspiciousOperation <https://docs.djangoproject.com/en/dev/ref/exceptions/#suspiciousoperation>`_ exception for
|
||||||
|
'TooManyFieldsSent'. This is a built-in Django protection against Denial of Service attacks.
|
||||||
|
|
||||||
|
If you need to be able to export larger datasets via the action menu you can use the
|
||||||
|
`DATA_UPLOAD_MAX_NUMBER_FIELDS <https://docs.djangoproject.com/en/dev/ref/settings/#data-upload-max-number-fields>`_
|
||||||
|
setting to increase or disable this check.
|
||||||
|
|
||||||
.. _export_from_model_change_form:
|
.. _export_from_model_change_form:
|
||||||
|
|
||||||
Export from model instance change form
|
Export from model instance change form
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user