#11404 closed New feature (fixed)
add has_changed() method to formsets
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 1.0 |
| Severity: | Normal | Keywords: | formset |
| 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
both formsets and forms have .is_valid()
but only forms have .has_changed()
it would be nice if formsets had it too
Attachments (2)
Change History (9)
comment:1 by , 16 years ago
| Component: | Uncategorized → Forms |
|---|---|
| Keywords: | formset added |
| Triage Stage: | Unreviewed → Someday/Maybe |
by , 16 years ago
| Attachment: | formset-has-changed.diff added |
|---|
comment:2 by , 16 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Someday/Maybe → Unreviewed |
comment:3 by , 16 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:4 by , 15 years ago
| Needs documentation: | set |
|---|---|
| Needs tests: | set |
comment:5 by , 15 years ago
| Severity: | → Normal |
|---|---|
| Type: | → New feature |
by , 14 years ago
| Attachment: | formset-has-changed-2.diff added |
|---|
Patch updated to Django 1.3 with tests and docs.
comment:6 by , 14 years ago
| Easy pickings: | unset |
|---|---|
| Needs documentation: | unset |
| Needs tests: | unset |
| Triage Stage: | Accepted → Ready for checkin |
| UI/UX: | unset |
The latest patch has tests and docs. It applies cleanly for me on the latest trunk and all the tests pass. This looks ready for check-in to me.
Note:
See TracTickets
for help on using tickets.
Patch attached.