☰
Debian Codegraph
@
3:5.2.17-2
3:5.2.17-1
3:5.2.15-2
/
/
tests
/
model_fields
/
storage.py
☽
☼
tests/model_fields/storage.py
code
plain
raw
BSD-3-Clause
Django Software Foundation and individual contributors
debian/copyright
1
from django.core.files.storage.filesystem import FileSystemStorage
2
3
4
class NoReadFileSystemStorage(FileSystemStorage):
5
def open(self, *args, **kwargs):
6
raise AssertionError("This storage class does not support reading.")