Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#221 closed defect (invalid)

Missing argument for ForeignKey in documentation

Reported by: paolo Owned by: jacob
Component: Documentation Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

ForeignKey fields provide an argument called 'name', which is not not mentioned in documentation.
It is useful when you need to reference a ForeignKey field by name, i.e. when you want to order the fields list in admin via admin = meta.Admin(fields = ((None, {'fields': ('foo', 'forKey_name', 'bar')}),)

Change History (1)

comment:1 Changed 10 years ago by adrian

  • Resolution set to invalid
  • Status changed from new to closed

This is no longer valid, as of [549].

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