origin

class render_static.origin.AppOrigin[source]

Bases: Origin

Extend Origin to contain the application it was found in. This is used by the static template engine to determine where a template should be written to disk.

Parameters:
  • args

  • kwargs

__init__(name, app=None, template_name=None, loader=None)[source]
Parameters:

app (AppConfig | None)

Return type:

None

classmethod __new__(*args, **kwargs)