From cff3fd298427312e4fcad5fceba7481947709abe Mon Sep 17 00:00:00 2001 From: Corentin <47939924+corentingd@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:45:42 +0100 Subject: [PATCH] Update File.rst Replace "type" and "types" parameters by "extension" and "extensions" in the extensionsMessage parameters list --- reference/constraints/File.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/constraints/File.rst b/reference/constraints/File.rst index 68a65dfba20..aef029571ac 100644 --- a/reference/constraints/File.rst +++ b/reference/constraints/File.rst @@ -282,7 +282,14 @@ You can find a list of existing mime types on the `IANA website`_. The message displayed if the extension of the file is not a valid extension per the `extensions`_ option. -.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc +==================== ============================================================= +Parameter Description +==================== ============================================================= +``{{ file }}`` Absolute file path +``{{ limit }}`` Maximum file size allowed +``{{ extension }}`` The extension of the given file +``{{ extensions }}`` The list of allowed file extensions +==================== ============================================================= ``mimeTypesMessage`` ~~~~~~~~~~~~~~~~~~~~