Ticket #5346: doc-typo.diff
File doc-typo.diff, 1.1 KB (added by , 17 years ago) |
---|
-
model-api.txt
308 308 ``FilePathField`` will use to filter filenames. 309 309 Note that the regex will be applied to the 310 310 base filename, not the full path. Example: 311 ``"foo.*\.txt ^"``, which will match a file called311 ``"foo.*\.txt$"``, which will match a file called 312 312 ``foo23.txt`` but not ``bar.txt`` or ``foo23.gif``. 313 313 314 314 ``recursive`` Optional. Either ``True`` or ``False``. Default is … … 1903 1903 value inserted into a template when it displays an object. Thus, you should 1904 1904 always return a nice, human-readable string for the object's ``__str__``. 1905 1905 Although this isn't required, it's strongly encouraged (see the description of 1906 ``__unicode__``, below, before putting ``_ str__`` methods everywhere).1906 ``__unicode__``, below, before putting ``__str__`` methods everywhere). 1907 1907 1908 1908 For example:: 1909 1909