diff options
author | Tim Graham <timograham@gmail.com> | 2016-11-30 17:05:31 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-30 17:05:31 -0500 |
commit | e6262aaaf8066f2de8aadcc9561941ae64478cef (patch) | |
tree | a34546bc8b42525429ecdb808061602d3989016a /tests/max_lengths | |
parent | ad8f6a45eb44dbf527f915246883034c8554754c (diff) | |
download | django-e6262aaaf8066f2de8aadcc9561941ae64478cef.tar.gz |
Refs #27358 -- Removed invalid/unneeded FileField.upload_to in tests/docs.
Diffstat (limited to 'tests/max_lengths')
-rw-r--r-- | tests/max_lengths/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/max_lengths/models.py b/tests/max_lengths/models.py index ec4cc8e114..3a0eee4078 100644 --- a/tests/max_lengths/models.py +++ b/tests/max_lengths/models.py @@ -3,13 +3,13 @@ from django.db import models class PersonWithDefaultMaxLengths(models.Model): email = models.EmailField() - vcard = models.FileField(upload_to='/tmp') + vcard = models.FileField() homepage = models.URLField() avatar = models.FilePathField() class PersonWithCustomMaxLengths(models.Model): email = models.EmailField(max_length=250) - vcard = models.FileField(upload_to='/tmp', max_length=250) + vcard = models.FileField(max_length=250) homepage = models.URLField(max_length=250) avatar = models.FilePathField(max_length=250) |