module documentation

Undocumented

Class ​Error​Dict A collection of errors that knows how to display itself in various formats.
Class ​Error​List A collection of errors that knows how to display itself in various formats.
Class ​Renderable​Error​Mixin Undocumented
Class ​Renderable​Form​Mixin No class docstring; 3/3 methods documented
Class ​Renderable​Mixin Undocumented
Function flatatt No summary
Function from​_current​_timezone When time zone support is enabled, convert naive datetimes entered in the current time zone to aware datetimes.
Function pretty​_name Convert 'first_name' to 'First name'.
Function to​_current​_timezone When time zone support is enabled, convert aware datetimes to naive datetimes in the current time zone for display.
def flatatt(attrs):

Convert a dictionary of attributes to a single string. The returned string will contain a leading space followed by key="value", XML-style pairs. In the case of a boolean value, the key will appear without a value. It is assumed that the keys do not need to be XML-escaped. If the passed dictionary is empty, then return an empty string.

The result is passed through 'mark_safe' (by way of 'format_html_join').

def from_current_timezone(value):
When time zone support is enabled, convert naive datetimes entered in the current time zone to aware datetimes.
def pretty_name(name):
Convert 'first_name' to 'First name'.
def to_current_timezone(value):
When time zone support is enabled, convert aware datetimes to naive datetimes in the current time zone for display.