Opened 16 years ago

Closed 16 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)

Change History (1)

comment:1 by James Bennett, 16 years ago

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