Opened 6 years ago

Closed 6 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:


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

Attachments (0)

Change History (1)

comment:1 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.