1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.5.x] Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b.

Refs #9893, #18515.

Thanks Russell for the report.

Backport of db278c3 from master.
This commit is contained in:
Aymeric Augustin
2012-12-27 09:37:57 +01:00
parent fbc06eef1a
commit 3cb87ec605
3 changed files with 1 additions and 44 deletions

View File

@@ -26,5 +26,5 @@ class Storage(models.Model):
normal = models.FileField(storage=temp_storage, upload_to='tests')
custom = models.FileField(storage=temp_storage, upload_to=custom_upload_to)
random = models.FileField(storage=temp_storage, upload_to=random_upload_to, max_length=16)
random = models.FileField(storage=temp_storage, upload_to=random_upload_to)
default = models.FileField(storage=temp_storage, upload_to='tests', default='tests/default.txt')