Ticket #3857: model-api.txt.patch
File model-api.txt.patch, 1021 bytes (added by , 18 years ago) |
---|
-
docs/model-api.txt
196 196 197 197 A file-upload field. 198 198 199 ====================== =================================================== 200 Argument Description 201 ====================== =================================================== 202 ``upload_to`` Required. A string that will be appended to your 203 ``MEDIA_ROOT`` setting to determine the output of 204 the ``get_<fieldname>_url()`` helper function. You 205 may use strftime_ formatting. 206 ====================== =================================================== 207 199 208 Has an extra required argument, ``upload_to``, a local filesystem path to 200 209 which files should be upload. This path may contain `strftime formatting`_, 201 210 which will be replaced by the date/time of the file upload (so that