The best Site of the World

2007-09-16 Thread Iwan
http://www.rettet-den-affen.de.tl/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, s

Does this rate as a bug? newforms.ChoiceField does not declare widget

2007-04-20 Thread Iwan
Hi, Should I open a ticket for this? All Fields in newforms.fields declare a class attribute widget. If you then inherit form them you can override this. ChoiceField does not, instead it sets its default Widget via a keyword parameter to __init__. Which means if you inherit from it, thinking

Attrs on widgets composed of more than one HTML input

2007-04-20 Thread Iwan
Hi there, I have a question regarding, shall I say, policy regarding where attributes are placed on widgets (and MultiWidgets) that are rendered as more than one HTML input. Should what's passed in attrs be put on the individual inputs, or on one encapsulating element (such as a div or an ul).