diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-12-08 18:54:53 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-12-08 18:54:53 +0000 |
| commit | f10a9105774d95376008d9b91dfe55ba11f0971d (patch) | |
| tree | 5cbdb79531650bd7c8d7e58bf1f01ae6ad8cfbe7 /docs | |
| parent | 4e72dc86ff30b2e551b0891ac6dbf23f032a4bf8 (diff) | |
newforms: Added Field.widget_attrs() hook, which lets a Field designate HTML attributes to use in its widget. Implemented CharField.widget_attrs(), which sets the HTML maxlength attribute for <input type='text'> and <input type='password'>. Thanks for the idea, Gary Doades
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
