Skip to content

Page 376- Chapter 8: should be'TabularInline' not 'ModelInline' #37

@alphaveneno

Description

@alphaveneno

At the bottom of the page there is this line:

"You use a ModelInline class for the OrderItem model ..."

There is no ModelInline class in Django 5, just TabularInline and StackInline.

The author probably meant:

"You use a TabularInline class for the OrderItem model ..." which would correspond to the code immediately above this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions