#12466: required class are also added to not required fields --------------------------------------------+------------------------------- Reporter: Bernd Schlapsi <[email protected]> | Owner: nobody Status: new | Milestone: 1.2 Component: Forms | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | --------------------------------------------+------------------------------- Since [11830] there is the option to add css classes for errors and for required fields. But there is a error in the implementation. If you have a model with a few fields and there is a required field before a non required field the non required fields will also be given an "required" class.[[BR]] This is a bug because the initialization of the variable which stores the classes is only initialize once before the for loop.
-- Ticket URL: <http://code.djangoproject.com/ticket/12466> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
