Opened 17 years ago
Closed 17 years ago
#5573 closed (duplicate)
"save" override does not work when model uses edit_inline
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | edit_inline | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Current behavior:
- Create model a
- Create model b with ForeignKey relationship to a
- Create a save() override in model b
- Verify that the save() override is called when a new b instance is created with the admin interface
- Change model b's ForeignKey relationship to include 'edit_inline=models.TABULAR' (or models.STACKED)
- Verify that the save() override is not called when creating a new b from model a's admin page
Expected behavior:
Step 6 should still call the save() override defined in model b.
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #2666. Please search the ticket tracker before filing new tickets.
Note:
See TracTickets
for help on using tickets.
It looks like WikiFormatting is also broken. Here's the list again for better readability: