Changes between Version 2 and Version 3 of Ticket #22678, comment 2
- Timestamp:
- May 22, 2014, 4:52:39 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22678, comment 2
v2 v3 7 7 concatenation (e.g. 'id_'+key) in all cases, so it blows up nice and fast with any form of key that 8 8 does not actually fully work. 9 10 11 This kind of does it, subject to a future optimizer dropping the empty string: 12 {{{ 13 # django/forms/forms.py 14 class BaseForm(object): 15 for name, field in self.fields.items(): 16 html_class_attr = '' 17 bf = self[name+''] 18 }}}