Opened 14 years ago
Closed 14 years ago
#17422 closed Bug (fixed)
BaseDetailView get method doesn't take the *args argument
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Generic views | Version: | dev |
| Severity: | Normal | 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
BaseDetailView is the only CBV whose get method doesn't have the signature def get(self, request, *args, **kwargs): for the sake of consistency this should be fixed.
Inconsistency like this one or #17381 make it rather difficult to grasp what's going on when using the various generic CBV as a basis for custom CBV.
Attachments (1)
Change History (2)
by , 14 years ago
| Attachment: | detail.py.patch added |
|---|
comment:1 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17216]: