Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make parameters of LimitedUploadFileField overridable #1350

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

swrichards
Copy link
Collaborator

To allow for better re-use, it is desirable to make the parameters of the field overridable. A case in point is an upcoming change to process ZGW exports, which requires both different size limits and permissible mimetypes.

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.12%. Comparing base (8f22d47) to head (eea5b97).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1350   +/-   ##
========================================
  Coverage    95.11%   95.12%           
========================================
  Files          995      996    +1     
  Lines        36472    36517   +45     
========================================
+ Hits         34692    34737   +45     
  Misses        1780     1780           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@swrichards swrichards marked this pull request as ready for review August 15, 2024 08:56
@swrichards swrichards requested a review from pi-sigma August 15, 2024 08:56
@swrichards swrichards force-pushed the limited-file-upload-field-overridable-params branch from 3238ffc to 389a1eb Compare August 15, 2024 10:30
@swrichards swrichards requested a review from pi-sigma August 15, 2024 10:31
To allow for better re-use, it is desirable to make the
parameters of the field overridable. A case in point is
an upcoming change to process ZGW exports, which requires
both different size limits and permissible mimetypes.
@swrichards swrichards force-pushed the limited-file-upload-field-overridable-params branch from 389a1eb to eea5b97 Compare August 15, 2024 10:34
@swrichards swrichards requested a review from alextreme August 15, 2024 10:55
@alextreme alextreme merged commit da884ce into develop Aug 15, 2024
18 checks passed
@alextreme alextreme deleted the limited-file-upload-field-overridable-params branch August 15, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants