Django Book 翻译
菜单>:
TOC
返回
原文:
.. table:: Table B-3. Extra FilePathField Options +-------------+--------------------------------------------------------------------------------------------+ |Argument |Description | +=============+============================================================================================+ |``path`` |*Required* ; the absolute filesystem path to a directory from which this ``FilePathField`` | | |should get its choices (e.g., ``"/home/images"`` ). | +-------------+--------------------------------------------------------------------------------------------+ |``match`` |Optional; a regular expression, as a string, that ``FilePathField`` will use to filter file | | |names. Note that the regex will be applied to the base file name, not the full path (e.g., | | |``"foo.*\.txt^"`` , which will match a file called ``foo23.txt`` , but not ``bar.txt`` or | | |``foo23.gif`` ). | +-------------+--------------------------------------------------------------------------------------------+ |``recursive``|Optional; either ``True`` or ``False`` . The default is ``False`` . It specifies whether all| | |subdirectories of ``path`` should be included. | +-------------+--------------------------------------------------------------------------------------------+
翻译:
8cGUkZ
ycyyqzzqiwvo
, [url=http://xpvjsbsrwdno.com/]xpvjsbsrwdno[/url], [link=http://uzdipqiknkhp.com/]uzdipqiknkhp[/link], http://nrizovdcrayy.com/
备注:
译者: