Twisted
Home FAQ Docs Download Timeline Roadmap View Tickets Search
class documentation

Common page footer. Loads the template file "footer.html" and provides the renderer buildtime to be used in a <t:transparent ...> tag to render the build time if it was not provided as --buildtime=no on the command line.

The t:transparent tag's content is ignored. If it has the attribute fmt, its value is used to format the built time with datetime.datetime.strftime().

Method __init__ Undocumented
Method buildtime Renders the build time as provided on the command line with a default of now.
Class Variable filename Undocumented
Instance Variable _buildtime Undocumented

Inherited from TemplateElement:

Class Method lookup_loader Lookup the element ITemplateLoader with the TemplateLookup.
def __init__(self, buildtime: datetime.datetime | None, loader: ITemplateLoader): (source)

Undocumented

@renderer
def buildtime(self, request: IRequest, tag: Tag) -> Flattenable: (source)

Renders the build time as provided on the command line with a default of now.

filename: str = (source)

Undocumented

_buildtime = (source)

Undocumented