django/tests/file_uploads/models.py

6 lines
119 B
Python

from django.db import models
class FileModel(models.Model):
testfile = models.FileField(upload_to='test_upload')