#1253 closed defect (fixed)
[magic-removal][patch] admin/views/doc.py , model_detail, fix propose
Reported by: | 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
model = models.get_app(model)
returns module but not model.if callable(func) and len(inspect.getargspec(func)...
class can be callable but inpect.getargspec complains about it.
patch attached.
Attachments (1)
Change History (2)
by , 19 years ago
Attachment: | doc.py.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [2099]) magic-removal: Fixed #1253 -- Got admin doc for models working.