Fixed #5015 -- Typo fix in oldforms. Thanks, teyc@cognoware.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f128c7bbb7
commit
cc42b2fde8
|
@ -204,7 +204,7 @@ class FormFieldCollection(FormFieldWrapper):
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return unicode(self).encode('utf-8')
|
return unicode(self).encode('utf-8')
|
||||||
|
|
||||||
def __str__(self):
|
def __unicode__(self):
|
||||||
return unicode(self.formfield_dict)
|
return unicode(self.formfield_dict)
|
||||||
|
|
||||||
def __getitem__(self, template_key):
|
def __getitem__(self, template_key):
|
||||||
|
|
Loading…
Reference in New Issue