fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
0.4.4: Django 3.0 support, actions.export_as_csv_action added.
[fnpdjango.git]
/
tests
/
models.py
1
from django.db import models
2
3
from fnpdjango.storage import BofhFileSystemStorage
4
5
bofh_storage = BofhFileSystemStorage()
6
7
8
class SomeModel(models.Model):
9
attachment = models.FileField(null=True, upload_to="test", storage=bofh_storage)