Changes between Initial Version and Version 1 of Ticket #23251, comment 15


Ignore:
Timestamp:
Jul 15, 2022, 12:34:56 AM (22 months ago)
Author:
Bhavya Peshavaria

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`?
     1I 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`?
    22
    33My 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.
Back to Top