Hi guys,

If I have a form defined on newforms as:

class MyForm(forms.Form):
     field1 = forms.CharField(max_length=100)
     field2 = forms.Charfield(max_length=100, label='custom field')

When I render the field, the label for field1 get his first character
uppercased and becomes "Field1", the label for field2 was set by the
label keyword and this value doesn't get passed through pretty_name
function and keeps "custom field" (without the first letter
uppercase).

I couldn't figure out if this is a bug or a design decision.
I it is a bug I can fix and send a patch.
Is it a bug?

Thanks in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to