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'"

Change History (1)

comment:1 by Brian Rosner, 16 years ago

Resolution: fixed
Status: newclosed

(In [9017]) Fixed #9050 -- Fixed a typo in the 1.0 porting guide in the admin section. Thanks ahebert.

Note: See TracTickets for help on using tickets.
Back to Top