46_MIME_Type_check_for_file_upload #47

Merged
mpeltriaux merged 2 commits from 46_MIME_Type_check_for_file_upload into master 3 years ago
Owner

Implements #46

# Implements #46
mpeltriaux added 2 commits 3 years ago
c43b45a0e4 #46 MIME Type check
* 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
c93f16a598 #46 MIME Type check
* 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 3 years ago
mpeltriaux deleted branch 46_MIME_Type_check_for_file_upload 3 years ago
The pull request has been merged as 59d8608830.
Sign in to join this conversation.
Loading…
There is no content yet.