Jump to >

djblets.extensions.forms

class SettingsForm(extension, *args, **kwargs)[source]

Bases: djblets.siteconfig.forms.SiteSettingsForm

Settings form for extension configuration.

A base form for loading/saving settings for an extension. This is meant to be overridden by extensions to provide configuration pages. Any fields defined by the form will be loaded and saved automatically.

__init__(extension, *args, **kwargs)[source]