Opened 16 years ago
Closed 16 years ago
#9050 closed (fixed)
1.0 porting guide references `models` module where it should reference `admin` module.
Reported by: | Arthur Hebert | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.0 |
Severity: | 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
In the porting guide (http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/) for inline admin editing, there is a line that reads
class ParentAdmin(models.ModelAdmin):
which should read
class ParentAdmin(admin.ModelAdmin):
The former produces an error "AttributeError: 'module' object has no attribute 'ModelAdmin'"
Note:
See TracTickets
for help on using tickets.
(In [9017]) Fixed #9050 -- Fixed a typo in the 1.0 porting guide in the admin section. Thanks ahebert.