Changes between Version 3 and Version 4 of FileStorageRefactor


Ignore:
Timestamp:
08/06/08 11:41:43 (7 years ago)
Author:
Gulopine
Comment:

Added a note aboute django.db.models.fields

Legend:

Unmodified
Added
Removed
Modified
  • FileStorageRefactor

    v3 v4  
    5050|| `instance.get_content_width()`    || `instance.content.width`  ||
    5151|| `instance.get_content_height()`   || `instance.content.height` ||
     52
     53=== `FileField` and `ImageField` have moved ===
     54
     55Because 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.
    5256
    5357=== `django.utils.images` has moved ===
Back to Top