Opened 17 years ago
Closed 17 years ago
#7954 closed (duplicate)
The value of post_url is unused in ModelAdmin.add_view
| Reported by: | Matthias Kestenholz | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Lines 470-475 assign a value to post_url which is not used in the function.
I'm not sure if the value of post_url should be passed to save_add on line 487.
(Line numbers for [8068])
The attached patch removes the (currently) unused code parts.
Attachments (1)
Change History (2)
by , 17 years ago
| Attachment: | remove_dead_code.patch added |
|---|
comment:1 by , 17 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #7929