> group_name=forms.ChoiceField(choices=[("itp","ITP"),("csg", "CSG"), > ("nwg","NWG"),("pcis","PCIS"),("serv","SERV"),("swg","SWG"), > ("wsg","WSG")],required = False) > I WANT TO GIVE A STYLE FOR CHOICE FILED DATA(swg,wsg....)... HW CAN I? I'm not sure if I understand what you mean, but maybe you want:
group_name.widget.attrs['class']='my_style' -- Maciej Wisniowski --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---