Changes between Version 3 and Version 4 of FileStorageRefactor
- Timestamp:
- Aug 6, 2008, 11:41:43 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FileStorageRefactor
v3 v4 50 50 || `instance.get_content_width()` || `instance.content.width` || 51 51 || `instance.get_content_height()` || `instance.content.height` || 52 53 === `FileField` and `ImageField` have moved === 54 55 Because of all the new code in an already-crowded `django.db.models.fields`, `FileField` and `ImageField` have been moved into their own module: `django.db.models.fields.files`. They're still imported directly into `django.db.models`, so the vast majority of existing code will continue to work without modification, but if anyone's importing them directly, they'll need to update the import path. 52 56 53 57 === `django.utils.images` has moved ===