Django

Code

Changeset 5816

Show
Ignore:
Timestamp:
08/06/07 00:33:18 (1 year ago)
Author:
adrian
Message:

Added note to docs/model-api.txt about help_text not being escaped in the admin interface

Files:

Legend:

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

    r5803 r5816  
    624624form. It's useful for documentation even if your object doesn't have an 
    625625admin form. 
     626 
     627Note that this value is *not* HTML-escaped when it's displayed in the admin 
     628interface. This lets you include HTML in ``help_text`` if you so desire. For 
     629example:: 
     630 
     631        help_text="Please use the following format: <em>YYYY-MM-DD</em>." 
    626632 
    627633``primary_key``