Django

Code

Changeset 6069

Show
Ignore:
Timestamp:
09/08/07 14:30:16 (1 year ago)
Author:
gwilson
Message:

Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r6007 r6069  
    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 
     
    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::