Jump to >

reviewboard.admin.model_admin

Administration UI customization for models.

class ModelAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

Base class for administration UI representations of models.

This should be used instead of django.contrib.admin.ModelAdmin for any new model registrations. It provides additional options for Review Board’s administration UI.

New in version 4.0.

fieldset_template_name = None[source]

The template used for any fieldsets on the model’s Change Form.

If not explicitly overridden, admin/includes/fieldset.html will be used.