Opened 7 years ago

Closed 7 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: UI/UX:


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 7 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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