Changes between Version 1 and Version 2 of Ticket #34541


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34541 – Description

    v1 v2  
    1 With 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.
     1With the recent addition of STORAGES, would it be possible to have a StorageRouter that mimics the functionality of the DatabaseRouter but for files/storage classes?
    22
    33Since the storage callable in Filefields are called during build, it cannot be used to dynamically set the storage class during runtime.
     
    55However 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.
    66
    7 In case of fields that have a field level storage class and StorageRouter, priority has to be resolved by the router.
     7In case of fields that have a field level storage class and StorageRouter, priority has to be resolved by the router. 
    88
    99Related to #34540
Back to Top