1
0
mirror of https://github.com/django/django.git synced 2025-03-29 18:50:46 +00:00
Claude Paroz 2f9f211da8 [1.5.x] Prevented file_upload tests to leave files behind
Refs #19206.
Backport of 73245b3 from master.
2012-10-30 22:29:09 +01:00

6 lines
119 B
Python

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