Skip to content

Commit 5990ccd

Browse files
committed
Add migration info
1 parent 862bd1b commit 5990ccd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,26 @@ Documentation
4949
Please head over to the separate `documentation <https://django-filer.readthedocs.io/en/latest/index.html>`_
5050
for all the details on how to install, configure and use django-filer.
5151

52+
Upgrading
53+
=========
54+
55+
Version 3.3
56+
-----------
57+
58+
django-filer version 3 contains a change in security policy for file uploads.
59+
**By default, binary file or files of unknown type are not allowed to be uploaded.**
60+
To allow upload of binary files in your project, add
61+
62+
.. code-block:: python
63+
64+
FILER_REMOVE_FILE_VALIDATORS = [
65+
"application/octet-stream",
66+
]
67+
68+
to your project's settings. Be aware that binary files always are a security risk.
69+
See the documentation for more information on how to configure file upload validators,
70+
e.g., running files through a virus checker.
71+
5272

5373
.. |pypi| image:: https://badge.fury.io/py/django-filer.svg
5474
:target: http://badge.fury.io/py/django-filer

0 commit comments

Comments
 (0)