#15061 closed (fixed)
Remove redundant code in ModelFormMixin
| Reported by: | rasca | Owned by: | rasca |
|---|---|---|---|
| Component: | Generic views | Version: | dev |
| 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
ModelFormMinix inherits from FormMinix, and overrides the form_invalid() method doing the same thing.
I've ran all django tests and all of them passes when removing this method from ModelFormMixin.
Attachments (1)
Change History (6)
by , 15 years ago
| Attachment: | ticket15061.patch added |
|---|
comment:1 by , 15 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Has patch: | set |
|---|
comment:3 by , 15 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:4 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
remove duplicate code and pep8 whitelines fix