Changes between Version 2 and Version 3 of Ticket #22678, comment 2


Ignore:
Timestamp:
May 22, 2014, 4:52:39 PM (11 years ago)
Author:
brycenesbitt

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22678, comment 2

    v2 v3  
    77concatenation (e.g. 'id_'+key) in all cases, so it blows up nice and fast with any form of key that
    88does not actually fully work.
     9
     10
     11This kind of does it, subject to a future optimizer dropping the empty string:
     12{{{
     13# django/forms/forms.py
     14class BaseForm(object):
     15 for name, field in self.fields.items():
     16     html_class_attr = ''
     17     bf = self[name+'']
     18}}}
Back to Top