Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.


Form definitions for extensions.

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

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.

set_key_value(key, value)[source]

Set the value for an extension settings key.

  • key (unicode) – The settings key.

  • value (object) – The settings value.


Save the instance.