Django 4
[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)