Changes between Initial Version and Version 1 of Ticket #34541


Ignore:
Timestamp:
May 4, 2023, 1:30:20 PM (13 months ago)
Author:
Vasanth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34541 – Description

    initial v1  
    11With the recent addition of STORAGES, would it it possible to have a StorageRouter that mimics the functionality of the DatabaseRouter but for files/storage classes.
    22
    3 Since the storage callable in Filefields are called during build,it cannot be used to dynamically set the storage class during runtime.
     3Since the storage callable in Filefields are called during build, it cannot be used to dynamically set the storage class during runtime.
    44
    5 This would be particularly useful for cases where data for specific models needs to stored elsewhere or for SaaS backends provide independent and isolated buckets for each coient/subdomain.
     5However dynamically setting the storage class would be particularly useful for cases where data for specific models needs to stored elsewhere or for SaaS backends provide independent and isolated buckets for each client/subdomain.
     6
     7In case of fields that have a field level storage class and StorageRouter, priority has to be resolved by the router.
    68
    79Related to #34540
Back to Top