X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/4bc4a4cd7c8470de220e86fe44b50d427368c942..c5f50329c7ddea87333c6137d994252c47783aa4:/tests/models.py diff --git a/tests/models.py b/tests/models.py new file mode 100644 index 0000000..11102ef --- /dev/null +++ b/tests/models.py @@ -0,0 +1,9 @@ +from django.db import models + +from fnpdjango.storage import BofhFileSystemStorage + +bofh_storage = BofhFileSystemStorage() + + +class SomeModel(models.Model): + attachment = models.FileField(null=True, upload_to="test", storage=bofh_storage)