Code

Opened 9 years ago

Closed 9 years ago

Last modified 7 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')}),)

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by adrian

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.