Changes between Initial Version and Version 1 of Ticket #25866


Ignore:
Timestamp:
Dec 4, 2015, 9:41:25 AM (9 years ago)
Author:
Gerben Morsink
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25866 – Description

    initial v1  
    1 I have a FileField which first had no max_length
     1I have subclassed a FileField (call it S3storage) which first had no max_length
    22
    3 Now I changed max_length to 1000. Then running ./manage.py makemigrations it does not seems to be picked up
     3Now I changed max_length to 1000. Then running ./manage.py makemigrations it does not seems to be picked up.
     4
     5The only thing I did was:
     6
     7class 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
Back to Top