Opened 15 years ago

Closed 15 years ago

#12758 closed (invalid)

Widgets are ignored

Reported by: technologix Owned by: nobody
Component: Forms Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

class AuthorForm(ModelForm):

class Meta:

model = Author
fields = ['name', 'title', 'birth_date']
widgets = {

'name': Textarea(attrs={'cols': 80, 'rows': 20}),

}

The widgets fields in Meta are ignored ? I cannot change the default widgets.

Change History (1)

comment:1 by technologix, 15 years ago

Resolution: invalid
Status: newclosed

This will be a feature of Django 1.2 ;)
Sorry.

Note: See TracTickets for help on using tickets.
Back to Top