extender application¶
Submodules¶
extender.forms¶
-
class
extender.forms.RoleCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.RoleObject
-
fields= ['shortname', 'desc', 'exid']¶
-
labels= {'desc': 'description', 'exid': 'External ID', 'shortname': 'Short Name'}¶
-
help_texts= {'exid': 'Key to link yaml vars', 'shortname': 'Directory name for that role'}¶
-
error_messages= {'exid': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.LogicalGroupCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.LogicalGroupObject
-
fields= ['shortname', 'exid']¶
-
labels= {'exid': 'External ID', 'shortname': 'Short Name'}¶
-
help_texts= {'exid': 'Key to link yaml vars', 'shortname': 'File name for that Group'}¶
-
error_messages= {'exid': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'exid': <django.forms.fields.CharField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ConfigSectionCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ConfigSectionObject
-
fields= ['shortname', 'exid', 'desc', 'listobject']¶
-
labels= {'desc': 'Description', 'exid': 'External ID', 'listobject': 'Is this section a list', 'shortname': 'Short Name'}¶
-
help_texts= {'desc': 'Description', 'exid': 'Key to link yaml vars', 'listobject': 'When constructed in yaml, is it a list', 'shortname': 'Section name in yaml file'}¶
-
error_messages= {'exid': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'listobject': <django.forms.fields.BooleanField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.RoleTaskCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.RoleTaskObject
-
fields= ['shortname', 'role', 'desc']¶
-
labels= {'desc': 'Description', 'role': 'Assigned to role', 'shortname': 'Task Name'}¶
-
help_texts= {'desc': 'Task description', 'role': 'Choose a role that this task file will be copied to', 'shortname': 'Task file name, without ext'}¶
-
error_messages= {'exid': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'role': <django.forms.models.ModelChoiceField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ApiCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ApiObject
-
fields= ['shortname', 'desc']¶
-
labels= {'desc': 'Description', 'shortname': 'Short Name'}¶
-
help_texts= {'desc': 'Description for that API', 'shortname': 'API name '}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ApiSectionCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ApiSectionObject
-
fields= ['shortname', 'exid', 'api', 'desc', 'docurl']¶
-
labels= {'api': 'API', 'desc': 'Description', 'docurl': 'API Documentation link', 'exid': 'External ID', 'shortname': 'Section Name'}¶
-
help_texts= {'api': 'Parent API', 'desc': 'Section description', 'docurl': 'Provide a link to actual API section', 'exid': 'Key to link yaml vars', 'shortname': 'First part of API command'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'api': <django.forms.models.ModelChoiceField object>, 'desc': <django.forms.fields.CharField object>, 'docurl': <django.forms.fields.URLField object>, 'exid': <django.forms.fields.CharField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ApiSubCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ApiSubObject
-
fields= ['shortname', 'exid', 'section', 'desc', 'trailngspace']¶
-
labels= {'desc': 'Description', 'exid': 'External ID', 'section': 'API Section', 'shortname': 'Sub object Name', 'trailngspace': 'trailing Space'}¶
-
help_texts= {'desc': 'Sub Object description', 'exid': 'Key to link yaml vars', 'section': 'Section for this object', 'shortname': 'Second part of API command', 'trailngspace': 'Add space to end of string, if name ends with "=" then must be false'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'name': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'section': <django.forms.models.ModelChoiceField object>, 'shortname': <django.forms.fields.CharField object>, 'trailngspace': <django.forms.fields.BooleanField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.RoleTemplateCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.RoleTemplateObject
-
fields= ['shortname', 'role', 'desc', 'istemplate']¶
-
labels= {'desc': 'Description', 'istemplate': 'Parse', 'role': 'Role', 'shortname': 'Template Name'}¶
-
help_texts= {'desc': 'Template description', 'istemplate': 'Process Jinja2 or just copy', 'role': 'Assign to role', 'shortname': 'Actual template file name'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'shortname': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'istemplate': <django.forms.fields.BooleanField object>, 'role': <django.forms.models.ModelChoiceField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ConfigSubCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ConfigSubObject
-
fields= ['shortname', 'exid', 'section', 'desc']¶
-
labels= {'desc': 'Description', 'exid': 'External ID', 'section': 'Config Section', 'shortname': 'Sub object Name'}¶
-
help_texts= {'desc': 'Config Object description', 'exid': 'Key to link yaml vars', 'section': 'Section for this object', 'shortname': 'Config Object name'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'name': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'section': <django.forms.models.ModelChoiceField object>, 'shortname': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ConfigValueCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ConfigValueObject
-
fields= ['exid', 'subobject', 'value', 'desc']¶
-
labels= {'desc': 'Description', 'exid': 'External ID', 'subobject': 'Sub object Name', 'value': 'Object Value'}¶
-
help_texts= {'desc': 'short Description', 'exid': 'Key to link yaml vars', 'subobject': 'Parent Object', 'value': 'Value of object'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'name': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'subobject': <django.forms.models.ModelChoiceField object>, 'value': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
-
class
extender.forms.ApiValueCreateForm(owner=None, *args, **kwargs)¶ Bases:
django.forms.models.ModelForm-
class
Meta¶ Bases:
object-
model¶ alias of
extender.models.ApiValueObject
-
fields= ['exid', 'subobject', 'value', 'desc']¶
-
labels= {'desc': 'Description', 'exid': 'External ID', 'subobject': 'Sub object Name', 'value': 'Object Value'}¶
-
help_texts= {'desc': 'short Description', 'exid': 'Key to link yaml vars', 'subobject': 'Parent Object', 'value': 'Value of object'}¶
-
error_messages= {'desc': {'max_length': 'ID is too long.'}, 'name': {'max_length': 'Name is too long.'}}¶
-
-
base_fields= {'desc': <django.forms.fields.CharField object>, 'exid': <django.forms.fields.CharField object>, 'subobject': <django.forms.models.ModelChoiceField object>, 'value': <django.forms.fields.CharField object>}¶
-
declared_fields= {}¶
-
media¶
-
class
extender.models¶
-
class
extender.models.RoleObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.RoleObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.RoleObject(id, owner, shortname, exid, desc, addon, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
addon¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.RoleObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
roletaskobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
roletemplateobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
-
class
extender.models.LogicalGroupObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.LogicalGroupObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.LogicalGroupObject(id, owner, shortname, exid, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.LogicalGroupObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ConfigSectionObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ConfigSectionObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ConfigSectionObject(id, owner, shortname, exid, desc, listobject, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
listobject¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ConfigSectionObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
configsubobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.RoleTaskObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.RoleTaskObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.RoleTaskObject(id, owner, shortname, desc, role, slug, ispublic, popularity, isdev, ispublished)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
role¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
isdev¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublished¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.RoleTaskObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
role_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ApiObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ApiObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ApiObject(id, owner, shortname, desc, slug, ispublic, popularity, isdev, ispublished)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
isdev¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublished¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ApiObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
apisectionobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ApiSectionObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ApiSectionObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ApiSectionObject(id, owner, shortname, exid, desc, api, slug, ispublic, popularity, docurl)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
api¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
docurl¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ApiSectionObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
api_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
apisubobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.RoleTemplateObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.RoleTemplateObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.RoleTemplateObject(id, owner, shortname, slug, desc, istemplate, role, ispublic, popularity, isdev, ispublished)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
istemplate¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
role¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
isdev¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublished¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.RoleTemplateObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
role_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ConfigSubObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ConfigSubObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ConfigSubObject(id, owner, shortname, exid, desc, section, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
section¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ConfigSubObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
configvalueobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
section_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ApiSubObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ApiSubObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ApiSubObject(id, owner, shortname, exid, desc, section, slug, ispublic, popularity, trailngspace)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
shortname¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
section¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
trailngspace¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ApiSubObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
apivalueobject_set¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
section_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ConfigValueObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ConfigValueObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ConfigValueObject(id, owner, exid, subobject, value, desc, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
subobject¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
value¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ConfigValueObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
subobject_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
extender.models.ApiValueObjectQuerySet(model=None, query=None, using=None, hints=None)¶ Bases:
django.db.models.query.QuerySet-
search(query)¶
-
-
class
extender.models.ApiValueObjectManager¶ Bases:
django.db.models.manager.Manager-
get_queryset()¶ Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.
-
search(query)¶
-
-
class
extender.models.ApiValueObject(id, owner, exid, subobject, value, desc, slug, ispublic, popularity)¶ Bases:
django.db.models.base.Model-
owner¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
exid¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
subobject¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
-
value¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
desc¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
slug¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
ispublic¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
popularity¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <extender.models.ApiValueObjectManager object>¶
-
get_absolute_url()¶
-
get_absolute_url_edit()¶
-
title¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
owner_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
subobject_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
extender.models.ro_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.lgo_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.cs_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.rt_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.ao_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.as_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.rtm_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.co_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.aps_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.cv_pre_save_receiver(sender, instance, *args, **kwargs)¶
-
extender.models.av_pre_save_receiver(sender, instance, *args, **kwargs)¶
extender.utils¶
-
extender.utils.random_string_generator(size=10, chars='abcdefghijklmnopqrstuvwxyz0123456789')¶
-
extender.utils.unique_slug_generator(instance, new_slug=None)¶ This is for a Django project and it assumes your instance has a model with a slug field and a title character (char) field.