Open dahlia opened 11 years ago
Sometimes image files should be spread to two or more physical stores by their object_type. We could implement partitioned storage that implements Store interface e.g.:
object_type
Store
PartitionedStore([ ('user_picture', user_store), (re.compile(r'^comic_'), comic_store), (['post_attachment', 'comment_attachment'], forum_store) ], default=default_store)
+1
Sometimes image files should be spread to two or more physical stores by their
object_type
. We could implement partitioned storage that implementsStore
interface e.g.: