Changeset 2824
- Timestamp:
- 05/03/06 15:01:11 (3 years ago)
- Files:
-
- django/trunk/docs/db-api.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/db-api.txt
r2820 r2824 1526 1526 -------------- 1527 1527 1528 For every ``FileField``, the object will have a ``get_FOO_ filename()`` method,1528 For every ``FileField``, the object will have a ``get_FOO_size()`` method, 1529 1529 where ``FOO`` is the name of the field. This returns the size of the file, in 1530 1530 bytes. (Behind the scenes, it uses ``os.path.getsize``.) … … 1533 1533 ------------------------------------- 1534 1534 1535 For every ``FileField``, the object will have a `` get_FOO_filename()`` method,1535 For every ``FileField``, the object will have a ``save_FOO_file()`` method, 1536 1536 where ``FOO`` is the name of the field. This saves the given file to the 1537 1537 filesystem, using the given filename. If a file with the given filename already
