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

Closes #11592: Expose FILE_UPLOAD_MAX_MEMORY_SIZE as a setting #11742

Merged

Conversation

aronbergurj99
Copy link
Contributor

@aronbergurj99 aronbergurj99 commented Feb 13, 2023

Fixes: #11592

Exposes FILE_UPLOAD_MAX_MEMORY_SIZE as a setting so that it can be changed in configuration.py.
This addresses an issue where file uploads fails if file size is greater than django default value. With these changes a user will be able to increase the max file upload size to fit there need. I tested this and can confirm that these changes fixes netbox docker issue 897 by allowing the user to increase the max size.

@aronbergurj99
Copy link
Contributor Author

Should I create a commented out example in configuration_example.py?

@jeremystretch
Copy link
Member

@aronbj20 yes, and please also add a short definition of the parameter in the configuration docs.

@aronbergurj99
Copy link
Contributor Author

Will do!

@aronbergurj99
Copy link
Contributor Author

@jeremystretch hope this is okay, english is not my native language. Please let me know if there is any additional changes required.

@jeremystretch
Copy link
Member

Great, thank you @aronbj20!

@jeremystretch jeremystretch merged commit 2db181e into netbox-community:develop Feb 16, 2023
@aronbergurj99 aronbergurj99 deleted the 11592-expose-setting branch March 11, 2023 11:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants