#701 closed defect (fixed)
admin doc tool doesn't work with custom fields
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | 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
django.contrib.admin.views.doc.get_readable_field_data_type()
was still using field.__class__.__name__
Change it to use field.get_internal_type()
Attachments (1)
Change History (2)
by , 19 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [1019]) Fixed #701 -- contrib.admin.views.doc now uses get_internal_type()