+ +
+

PyAMS templates

+
+

Module contents

+
+
+pyams_template.includeme(config)
+

Pyramid include

+
+ +
+ +
+

Submodules

+
+

pyams_template.template module

+
+
+class pyams_template.template.BoundViewTemplate(pt, ob)
+

Bases: object

+
+ +
+
+class pyams_template.template.GetLayoutTemplate(name='')
+

Bases: pyams_template.template.ViewTemplate

+
+ +
+
+class pyams_template.template.GetPageTemplate(name='')
+

Bases: pyams_template.template.ViewTemplate

+
+ +
+
+class pyams_template.template.TemplateFactory(filename, contentType, macro=None)
+

Bases: object

+

Template factory.

+
+
+template = None
+
+ +
+ +
+
+class pyams_template.template.ViewTemplate(provides=<InterfaceClass pyams_template.interfaces.IPageTemplate>, name='')
+

Bases: object

+
+ +
+
+pyams_template.template.get_layout_template
+

alias of GetLayoutTemplate

+
+ +
+
+pyams_template.template.get_page_template
+

alias of GetPageTemplate

+
+ +
+
+pyams_template.template.get_view_template
+

alias of ViewTemplate

+
+ +
+
+class pyams_template.template.layout_config(**settings)
+

Bases: object

+

Class decorator used to declare a layout template

+
+
+venusian = <module 'venusian' from '/var/local/env/pycharm/lib/python3.5/site-packages/venusian/__init__.py'>
+
+ +
+ +
+
+class pyams_template.template.template_config(**settings)
+

Bases: object

+

Class decorator used to declare a view template

+
+
+venusian = <module 'venusian' from '/var/local/env/pycharm/lib/python3.5/site-packages/venusian/__init__.py'>
+
+ +
+ +
+
+

pyams_template.metadirectives module

+
+
+

pyams_template.metaconfigure module

+
+
+pyams_template.metaconfigure.layout_template_directive(_context, template, name='', for_=<InterfaceClass zope.interface.Interface>, layer=<InterfaceClass pyramid.interfaces.IRequest>, provides=<InterfaceClass pyams_template.interfaces.ILayoutTemplate>, contentType='text/html', macro=None, context=None)
+
+ +
+
+pyams_template.metaconfigure.template_directive(_context, template, name='', for_=<InterfaceClass zope.interface.Interface>, layer=<InterfaceClass pyramid.interfaces.IRequest>, provides=<InterfaceClass pyams_template.interfaces.IContentTemplate>, contentType='text/html', macro=None, context=None)
+
+ +
+
+
+ + +