File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,26 @@ Documentation
4949Please head over to the separate `documentation <https://django-filer.readthedocs.io/en/latest/index.html >`_
5050for 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
You can’t perform that action at this time.
0 commit comments