Django

Code

Show
Ignore:
Timestamp:
11/14/07 15:30:18 (1 year ago)
Author:
mtredinnick
Message:

Documented the time-saver in flatpages: title and content are marked as safe
strings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/flatpages.txt

    r6531 r6674  
    114114    </body> 
    115115    </html> 
     116 
     117Since you're already entering raw HTML into the admin page for a flatpage, 
     118both ``flatpage.title`` and ``flatpage.content`` are marked as **not** 
     119requiring `automatic HTML escaping`_  in the template. 
     120 
     121.. _automatic HTML escaping: ../templates/#automatic-html-escaping 
     122