#18156 closed Bug (fixed)
Wrong signature for ModelAdmin.change_view in documentation
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In the documentation (/ref/contrib/admin/), ModelAdmin's method change_view is documented as:
change_view(self, request, object_id, extra_context=None)
while it actually is (since 1.4 I guess):
change_view(self, request, object_id, form_url="" , extra_context=None)
which can lead to hard-to-understand bugs.
Change History (3)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17918]: