Opened 17 years ago
Closed 16 years ago
#9223 closed (fixed)
Declarative widgets for ModelForm
| Reported by: | Ivan Sagalaev | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 1.0 |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Implementation of widgets attribute of inner Meta class of ModelForm. The whole (but short!) discussion is here: http://groups.google.com/group/django-developers/browse_frm/thread/f879f383870b92c1
Attachments (4)
Change History (10)
by , 17 years ago
comment:1 by , 17 years ago
| Has patch: | set |
|---|
comment:2 by , 17 years ago
Bug: You're sharing the kwargs dict, so it'll get applied to all following fields.
comment:3 by , 17 years ago
Good catch, thanks! I've fixed the bug and added a test specifically for this issue.
comment:4 by , 17 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:5 by , 16 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
This patch isn't present in rev 11440.
comment:6 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch with test and docs