Skip to content

Commit b591f03

Browse files
authored
Update validation.rst
1 parent 61b23c5 commit b591f03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/validation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ you can add a validator that checks for viruses in uploaded files.
272272

273273
.. code-block:: python
274274
275+
FILER_REMOVE_FILE_VALIDATORS = ["application/octet-stream"]
275276
FILER_ADD_FILE_VALIDATORS = {
276277
"application/octet-stream": ["my_validator_app.validators.validate_octet_stream"],
277278
}

0 commit comments

Comments
 (0)