Opened 16 years ago
Last modified 16 years ago
#13145 new New feature
Allow the prefix used for empty_form on FormSets to be customized
Reported by: | Alex Gaynor | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
Attachments (3)
- custom-empty-form-prefix.diff (5.1 KB ) - added by Alex Gaynor 16 years ago.
- custom-empty-form-prefix.2.diff (5.1 KB ) - added by Alex Gaynor 16 years ago.
- custom-empty-form-prefix.3.diff (6.7 KB ) - added by Alex Gaynor 16 years ago.
Download all attachments as: .zip
Change History (8)
by Alex Gaynor, 16 years ago
Attachment: | custom-empty-form-prefix.diff added |
---|
by Alex Gaynor, 16 years ago
Attachment: | custom-empty-form-prefix.2.diff added |
---|
comment:1 by Russell Keith-Magee, 16 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
To clarify - the use case here is for nested inlines; if you add a new row that itself contains pre-existing inline rows, the prefix subsitution occurs on both the base and the nested form.
The test case needs to be elaborated to make sure we protect against this use case.
by Alex Gaynor, 16 years ago
Attachment: | custom-empty-form-prefix.3.diff added |
---|
comment:2 by Luke Plant, 15 years ago
Type: | → New feature |
---|
comment:3 by Luke Plant, 15 years ago
Severity: | → Normal |
---|
comment:5 by Aymeric Augustin, 14 years ago
Easy pickings: | unset |
---|
Change Easy pickings from NULL to False.
Note:
See TracTickets
for help on using tickets.