Opened 11 years ago

Closed 11 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


In the 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 11 years ago by Brian Rosner

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