#1835 closed defect (fixed)
[patch] FilePathField breaks admin model documentation
| Reported by: | Adam Endicott < > | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | contrib.admin | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
If a model has a FilePathField, navigating to the admin documentation for the model throws an exception (KeyError). The cause is a missing entry for FilePathField in the DATA_TYPE_MAPPING dict in django/contrib/admin/views/doc.py
The included patch adds the entry, which fixes the problem.
Attachments (1)
Change History (2)
by , 19 years ago
comment:1 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [2952].