liveBook · Manning

Change page

As explained in Django in Action

A change page is a Django Admin page containing a form for editing an existing database object.

A change page is a Django Admin form for editing an existing database object. From the listing page, selecting an object opens its change page, where you can update that object's fields. section 5.1.3

A change page fits into Django Admin's standard CRUD flow:

Registering the model behind the page

Registering the Musician model with an admin.ModelAdmin class gives Django Admin its default CRUD screens, including change pages. The administrator then opens /admin/, chooses a listed musician, and edits the object's fields. section 5.1.3

Figure 5.4 Model class, admin.ModelAdmin class, and associated Django Admin screens
figure

Use the model-to-admin relationship diagram to see how a registered model produces Django Admin screens, including the change page. section 5.1.3

How Django in Action covers it

How deep it goes
Defines the page and its CRUD relationship but does not detail form validation or request handling.
Examples
Uses registered Musician objects and the Django Admin listing-to-edit navigation.
What it assumes
Assumes a registered model, an admin.ModelAdmin class, and access to the Django Admin.
What you can do after
Operate/configure Django Admin to open and update registered database objects.
How it connects
Links Django Admin, models, ModelAdmin, ORM objects, CRUD, and listing pages.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Django in Action. The section links point to the parts of the book it draws on.