Ticket #5346: doc-typo.diff

File doc-typo.diff, 1.1 KB (added by David Paccoud <dpaccoud@…>, 17 years ago)
  • model-api.txt

     
    308308                            ``FilePathField`` will use to filter filenames.
    309309                            Note that the regex will be applied to the
    310310                            base filename, not the full path. Example:
    311                             ``"foo.*\.txt^"``, which will match a file called
     311                            ``"foo.*\.txt$"``, which will match a file called
    312312                            ``foo23.txt`` but not ``bar.txt`` or ``foo23.gif``.
    313313
    314314    ``recursive``           Optional. Either ``True`` or ``False``. Default is
     
    19031903value inserted into a template when it displays an object. Thus, you should
    19041904always return a nice, human-readable string for the object's ``__str__``.
    19051905Although 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).
    19071907
    19081908For example::
    19091909
Back to Top