djblets.extensions.models¶
Extension models.
- class RegisteredExtension(*args, **kwargs)¶
Bases:
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¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- enabled¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- installed¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- settings¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- __str__()¶
Return str(self).
- get_extension_class()¶
Retrieves the python object for the extensions class.
- property extension_class¶
Retrieves the python object for the extensions class.
- get_settings_json()¶
- id¶
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)¶