Changes between Version 1 and Version 2 of FileStorageRefactor


Ignore:
Timestamp:
Jul 31, 2008, 2:01:18 AM (16 years ago)
Author:
David Danier <goliath.mailinglist@…>
Comment:

Use "content" in example, like in code above

Legend:

Unmodified
Added
Removed
Modified
  • FileStorageRefactor

    v1 v2  
    4545Here's how the changes map out:
    4646
    47 || Old way                           || New way                ||
    48 || `instance.get_content_filename()` || `instance.file.path`   ||
    49 || `instance.get_content_url()`      || `instance.file.url`    ||
    50 || `instance.get_content_size()`     || `instance.file.size`   ||
    51 || `instance.save_content_file()`    || `instance.file.save()` ||
    52 || `instance.get_content_width()`    || `instance.file.width`  ||
    53 || `instance.get_content_height()`   || `instance.file.height` ||
     47|| Old way                           || New way                   ||
     48|| `instance.get_content_filename()` || `instance.content.path`   ||
     49|| `instance.get_content_url()`      || `instance.content.url`    ||
     50|| `instance.get_content_size()`     || `instance.content.size`   ||
     51|| `instance.save_content_file()`    || `instance.content.save()` ||
     52|| `instance.get_content_width()`    || `instance.content.width`  ||
     53|| `instance.get_content_height()`   || `instance.content.height` ||
    5454
    5555=== `django.utils.images` has moved ===
Back to Top