Changeset 8001
- Timestamp:
- 07/19/08 17:50:06 (3 months ago)
- Files:
-
- django/trunk/docs/db-api.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/db-api.txt
r7999 r8001 2282 2282 2283 2283 .. note:: 2284 If you are using the ``upload_to`` parameter in your ``FileField``, it is 2285 only valid to call this method **after** saving the model when the field 2286 has been set. Prior to saving, the value returned will not contain the 2287 upload directory in the path. 2284 It is only valid to call this method **after** saving the model when the 2285 field has been set. Prior to saving, the value returned will not contain 2286 the upload directory (the `upload_to` parameter) in the path. 2288 2287 2289 2288 Note that ``ImageField`` is technically a subclass of ``FileField``, so every … … 2299 2298 2300 2299 .. note:: 2301 As with ``get_FOO_filename()``, if you are using the ``upload_to`` 2302 parameter on your ``FileField``, it is only valid to call this method 2300 As with ``get_FOO_filename()``, it is only valid to call this method 2303 2301 **after** saving the model, otherwise an incorrect result will be 2304 2302 returned.
