Documentation on Field's 'description' class attribute does not mention that it will be interpolated with field.__dict__
The "Documenting your Custom Field" section in the "Writing custom
model fields" page
(http://docs.djangoproject.com/en/1.2/howto/custom-model-fields/) does
not mention that this string will be string-interpolated with
fields.dict (in the get_readable_field_data_type() function in
django.contrib.admindocs.views ) and thus can (and should, if
appropriate, since it really increases the usability of the admin
docs) contain stuff like %(some_attribute)s, and the example presented
doesn't show this feature, either.
Change History
(10)
Triage Stage: |
Unreviewed → Accepted
|
Severity: |
→ Normal
|
Type: |
→ Cleanup/optimization
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Change UI/UX from NULL to False.