diff options
Diffstat (limited to 'parts/django/tests/regressiontests/file_uploads/models.py')
-rw-r--r-- | parts/django/tests/regressiontests/file_uploads/models.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/parts/django/tests/regressiontests/file_uploads/models.py b/parts/django/tests/regressiontests/file_uploads/models.py deleted file mode 100644 index 9d02050..0000000 --- a/parts/django/tests/regressiontests/file_uploads/models.py +++ /dev/null @@ -1,10 +0,0 @@ -import tempfile -import os -from django.db import models -from django.core.files.storage import FileSystemStorage - -temp_storage = FileSystemStorage(tempfile.mkdtemp()) -UPLOAD_TO = os.path.join(temp_storage.location, 'test_upload') - -class FileModel(models.Model): - testfile = models.FileField(storage=temp_storage, upload_to='test_upload') |