Opened 7 years ago

Closed 7 years ago

#9050 closed (fixed)

1.0 porting guide references `models` module where it should reference `admin` module.

Reported by: ahebert Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 Changed 7 years ago by brosner

  • Resolution set to fixed
  • Status changed from new to closed

(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