Jump to >

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

djblets.extensions.models

class RegisteredExtension(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Extension registration info.

An extension that was both installed and enabled at least once. This may contain settings for the extension.

This does not contain full information for the extension, such as the author or description. That is provided by the Extension object itself.

class_name[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

enabled[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

installed[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

settings[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

__str__()[source]
get_extension_class()[source]

Retrieves the python object for the extensions class.

extension_class[source]

Retrieves the python object for the extensions class.

__unicode__()[source]
get_settings_json()[source]
id[source]

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

set_settings_json(json)[source]