Opened 9 years ago

Closed 8 years ago

#3292 closed enhancement (invalid)

[patch] newforms: allow models to override default widget

Reported by: Honza Král <Honza.Kral@…> Owned by: nobody
Component: Forms Version: master
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: UI/UX:


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)

models_widgets.patch (8.5 KB) - added by Honza Král <Honza.Kral@…> 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Honza Král <Honza.Kral@…>

comment:1 Changed 9 years ago by SmileyChris

  • Triage Stage changed from Unreviewed to Design decision needed

With Adrian's current work on the newforms branch, this could change entirely.

comment:2 Changed 9 years ago by Marc Fargas <telenieko@…>

  • Patch needs improvement set

On rev:4734 patch no longer applies.

comment:3 Changed 8 years ago by Honza Král <Honza.Kral@…>

  • Resolution set to invalid
  • Status changed from new to closed

fixed long time ago

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