Opened 17 years ago
Closed 17 years ago
#7175 closed (invalid)
"extra" anchor in sidebar is really long
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the sidebar on the Database API page, the anchor to the extra function is too long.
Instead of listing all possible keyword arguments:
extra(select=None, where=None, params=None, tables=None, order_by=None, select_params=None)
It just have the packed "kwargs" format, consistent with the other functions:
extra(**kwargs)
Note:
See TracTickets
for help on using tickets.
The other methods, like
get
,filter
, etc. are marked as taking**kwargs
because that's their actual argument signature; the correct keyword arguments are determined at runtime according to the model in use. The arguments toextra
, however, do not vary and should be documented clearly.