Changes between Initial Version and Version 1 of Ticket #25866
- Timestamp:
- Dec 4, 2015, 9:41:25 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25866 – Description
initial v1 1 I have a FileFieldwhich first had no max_length1 I have subclassed a FileField (call it S3storage) which first had no max_length 2 2 3 Now I changed max_length to 1000. Then running ./manage.py makemigrations it does not seems to be picked up 3 Now I changed max_length to 1000. Then running ./manage.py makemigrations it does not seems to be picked up. 4 5 The only thing I did was: 6 7 class S3FileField(models.FileField): 8 def __init__(self, *args, **kwargs): 9 super(S3PrivateFileField, self).__init__(*args, **kwargs) 10 self.storage.default_acl = "private" 11 12 13 14