Opened 18 years ago
Closed 17 years ago
#3292 closed enhancement (invalid)
[patch] newforms: allow models to override default widget
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | normal | Keywords: | newforms form_for_model |
Cc: | Honza.Kral@… | Triage Stage: | Design decision needed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
I implemented another keyword argument to django.db.models.fields.Field
overriding the default widget for its formfield.
As discussed on django-developers:
All tests passed.
Attachments (1)
Change History (4)
by , 18 years ago
Attachment: | models_widgets.patch added |
---|
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
Note:
See TracTickets
for help on using tickets.
With Adrian's current work on the newforms branch, this could change entirely.