Django

Code

Ticket #7175 (closed: invalid)

Opened 2 weeks ago

Last modified 2 weeks ago

"extra" anchor in sidebar is really long

Reported by: anonymous Assigned to: nobody
Component: Documentation Version: SVN
Keywords: Cc:
Triage Stage: Unreviewed Has patch: 0
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

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)

Attachments

Change History

05/06/08 08:25:51 changed by ubernostrum

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to invalid.
  • needs_tests changed.
  • needs_docs changed.

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.


Add/Change #7175 ("extra" anchor in sidebar is really long)




Change Properties
Action