Opened 19 years ago

Closed 19 years ago

Last modified 18 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

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

Resolution: invalid
Status: newclosed

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

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