fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Textile import optional.
[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)