Skip to main content

Quick view from a row

Open quick view from a row (dark theme)
Open quick view from a row (light theme)

Drag the divider or use the arrow keys to compare themes.

Open quick view from a row
Open quick view from a row (dark theme)
Open quick view from a row (light theme)

Drag the divider or use the arrow keys to compare themes.

  1. The quick view dialog identifies the selected record.
  2. The modal shows fields allowed for inspection without opening the change form.
Open quick view from a row

Django Chassis 1.0.23 · training site with Russian UI

  1. The quick view dialog identifies the selected record.
  2. The modal shows fields allowed for inspection without opening the change form.

How to add it​

Quick view opens a read-only dialog from the Actions column. In catalog_demo/admins/device_admin.py, add RowActionsOption to the existing DeviceAdmin.options list. If the list already contains this option, set quick_view=True on that instance. Configure the device list first if you are starting with a new model admin.

from django.contrib.admin import ModelAdmin
from django_chassis.mixins import ChassisAdminMixin
from django_chassis.options import RowActionsOption

class DeviceAdmin(ChassisAdminMixin, ModelAdmin):
options = [RowActionsOption(quick_view=True)]

Open the device list as a user with view access and click the eye icon. The dialog opens over the list and contains no save action.