|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib64/python2.7/site-packages/django/forms/ |
Upload File : |
�
r�\c @ s� d d l m Z d d l m Z d d l m Z m Z d d l m Z m Z d d l
m Z d d l m
Z d d l
m Z d d l Z d d l m Z d
� Z e d e f d � � Y� Z e d
e f d � � Y� Z d � Z d � Z d S( i����( t unicode_literals( t settings( t format_htmlt format_html_join( t
force_textt python_2_unicode_compatible( t timezone( t
ugettext_lazy( t sixN( t ValidationErrorc C s t d d t | j � � � S( uR
Convert a dictionary of attributes to a single string.
The returned string will contain a leading space followed by key="value",
XML-style pairs. 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'.
u u
{0}="{1}"( R t sortedt items( t attrs( ( s3 /tmp/pip-install-XxeQeY/django/django/forms/util.pyt flatatt s t ErrorDictc B s) e Z d Z d � Z d � Z d � Z RS( u�
A collection of errors that knows how to display itself in various formats.
The dictionary keys are the field names, and the values are the errors.
c C s
| j � S( N( t as_ul( t self( ( s3 /tmp/pip-install-XxeQeY/django/django/forms/util.pyt __str__! s c C s3 | s
d St d t d d d � | j � D� � � S( Nu u <ul class="errorlist">{0}</ul>u <li>{0}{1}</li>c s s'