Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Comes from http://www.djangosnippets.org/snippets/976/
(even if it already exists in S3Storage for ages)

See also Django #4339, which might add this functionality to core.

src/l/o/localshop-HEAD/localshop/apps/packages/tests/test_models.py   localshop(Download)
from django.test import TestCase
 
from storages.backends.overwrite import OverwriteStorage
 
from localshop.apps.packages import models
        field = [field for field in models.ReleaseFile._meta.fields
                    if field.name == 'distribution'][0]
        field.storage = OverwriteStorage()
 
    def test_save_contents(self):

src/l/o/localshop-0.4.1/localshop/apps/packages/tests/test_models.py   localshop(Download)
from django.test import TestCase
 
from storages.backends.overwrite import OverwriteStorage
 
from localshop.apps.packages import models
        field = [field for field in models.ReleaseFile._meta.fields
                    if field.name == 'distribution'][0]
        field.storage = OverwriteStorage()
 
    def test_save_contents(self):