> txtfld_attrs_dict = { 'class': 'default_txt_field'}
>     contact_first =
> forms.CharField(widget=forms.TextInput(attrs=txtfld_attrs_dict),max_length=25,label=u'Contact
>  First')

I figured out the problem, you have to set the dictionary
representation within the widget parameter if you use a variable for
the attributes.

For example:    "attrs=dict(txtfld_attrs_dict)" instead of
"attrs=txtfld_attrs_dict"



--~--~---------~--~----~------------~-------~--~----~
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