link "get_FOO_display()" in model field reference
|Reported by:||Tay Ray Chuan||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In the second last paragraph of the "choices" section under "Field options", the method "get_FOO_display" is mentioned, and the user is told to look for this in the "database API documentation".
Currently, this text in not linked to anything, and the "database API" may be confusing to newcomers who may try to search for this in django's documentation, when he/she should be looking in the model API.
It would be very helpful to newcomers to django to find out more about this method if it were linked to the method's documentation, namely, at, http://docs.djangoproject.com/en/dev/ref/models/instances/#get-foo-display.
Change History (7)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|