Opened 14 years ago

Closed 14 years ago

Last modified 12 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: no UI/UX: no


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 14 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

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

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