django-fobi/examples/simple/foo/models.py

9 lines
154 B
Python

from django.db import models
__all__ = ('FileTest',)
class FileTest(models.Model):
"""File test."""
file = models.FileField(upload_to='foo/')