46_MIME_Type_check_for_file_upload #47

Merged
mpeltriaux merged 2 commits from 46_MIME_Type_check_for_file_upload into master 2021-12-09 13:21:01 +01:00
Owner

Implements #46

# Implements #46
mpeltriaux added 2 commits 2021-12-09 13:20:32 +01:00
* adds file mime type check on NewDocumentForm
* adds file size check on NewDocumentForm
* adds is_xy_valid methods as classmethods on AbstractDocument
* adds translations for error messages
* updates help text on NewDocumentForm file field
* adds unit tests for new methods in konova/tests/test_documents.py
* refactors _accepted_mime_types of AbstractDocument into _valid_mime_types
mpeltriaux merged commit 59d8608830 into master 2021-12-09 13:21:01 +01:00
mpeltriaux deleted branch 46_MIME_Type_check_for_file_upload 2021-12-09 13:21:08 +01:00
Sign in to join this conversation.
No description provided.