Undocumented
Class | ErrorDict |
A collection of errors that knows how to display itself in various formats. |
Class | ErrorList |
A collection of errors that knows how to display itself in various formats. |
Class | RenderableErrorMixin |
Undocumented |
Class | RenderableFormMixin |
No class docstring; 3/3 methods documented |
Class | RenderableMixin |
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. |
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').