File validators for MIME type, size, and extension.
Hi, I wrote a file validator that can validation the files based on their MIME and their size and extension, and all of these sections are implemented using their Django own features. I wanted to see I could add this feature to Django and give Pull Request.
If you want to upload the code I wrote for this file validator to check out more.
Change History
(6)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
Summary: |
file validator → File validators for MIME type, size, and extension.
|
Resolution: |
wontfix → duplicate
|
Thanks for this ticket, however I think it is a good candidate for a third-party package. The current thread is to keep Django a core framework, not providing every validator which might be useful. Please write to the DevelopersMailingList if you want other opinions, and follow the triaging guidelines with regards to wontfix tickets.