components.template_xsl_rendering.models¶
TemplateXslRendering model
-
class
components.template_xsl_rendering.models.TemplateXslRendering(*args, **kwargs)¶ Bases:
django_mongoengine.document.DjangoFlavor,mongoengine.document.DocumentTemplateXslRendering object
-
exception
DoesNotExist¶ Bases:
mongoengine.errors.DoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
mongoengine.errors.MultipleObjectsReturned
-
detail_xslt¶
-
static
get_all()¶ Get all TemplateXslRendering.
Returns: List of TemplateXslRendering.
-
static
get_by_id(template_xsl_rendering_id)¶ Get a TemplateXslRendering document by its id.
Parameters: template_xsl_rendering_id – Id.
Returns: TemplateXslRendering object.
Raises: DoesNotExist– The TemplateXslRendering doesn’t exist.ModelError– Internal error during the process.
-
static
get_by_template_id(template_id)¶ Get TemplateXslRendering by its template id.
Parameters: template_id – Template id.
Returns: The TemplateXslRendering instance.
Raises: DoesNotExist– The TemplateXslRendering doesn’t exist.ModelError– Internal error during the process.
-
id¶ A field wrapper around MongoDB’s ObjectIds.
-
list_xslt¶
-
template¶
-
exception