Changes between Initial Version and Version 1 of Ticket #23251, comment 15
- Timestamp:
- Jul 15, 2022, 12:34:56 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23251, comment 15
initial v1 1 I like the idea of using `TESTS_MEDIA_ROOT` as suggested by Ahmad Abdallah. However, how would we handle it when the user passes a custom `Storage` object rather than using `DEFAULT_FILE_STORAGE`?1 I like the idea of using `TESTS_MEDIA_ROOT` as suggested by אורי. However, how would we handle it when the user passes a custom `Storage` object rather than using `DEFAULT_FILE_STORAGE`? 2 2 3 3 My current plan is to keep the `TESTS_MEDIA_ROOT` optional in Django settings. If it is defined, then the files will be uploaded to that path. If not, then will follow default behaviour to maintain reverse compatibility.