Changes between Version 6 and Version 7 of AmazonSimpleStorageService
- Timestamp:
- Aug 3, 2007, 4:20:00 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AmazonSimpleStorageService
v6 v7 75 75 super(S3FileField, self).contribute_to_class(cls, name) 76 76 models.CharField(maxlength=200, blank=self.blank, null=self.null).contribute_to_class(cls, "%s_key"%(self.name)) 77 models.CharField(maxlength=200, blank=self.blank, null=self.null, default= settings.DEFAULT_BUCKET).contribute_to_class(cls, "%s_bucket"%(self.name))77 models.CharField(maxlength=200, blank=self.blank, null=self.null, default=(self.bucket or settings.DEFAULT_BUCKET)).contribute_to_class(cls, "%s_bucket"%(self.name)) 78 78 models.CharField(maxlength=200, blank=True, null=True, default="").contribute_to_class(cls, "%s_content_type"%(self.name)) 79 79 models.IntegerField(blank=True, null=True).contribute_to_class(cls, "%s_size"%(self.name))