Opened 11 years ago

Closed 11 years ago

#7175 closed (invalid)

"extra" anchor in sidebar is really long

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
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


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:


Change History (1)

comment:1 Changed 11 years ago by James Bennett

Resolution: invalid
Status: newclosed

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 to extra, however, do not vary and should be documented clearly.

Note: See TracTickets for help on using tickets.
Back to Top