#938 closed defect (fixed)
Trivial patch for admin/doc w.r.t. OneToOneField
| 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
The admin/doc barfs on models w/ OneToOneFields in them. Adding
'OneToOneField' : _('Extending Original Model'),
or equivalent to contrib/admin/views/doc.py, circa line 256, makes it at least work.
--david
Note:
See TracTickets
for help on using tickets.
(In [1473]) Fixed #938 -- Fixed bug in admin model docs with OneToOneField