loefsys.settings.templates module

Module containing the configuration for templates.

class loefsys.settings.templates.TemplateSettings

Bases: object

Class containing the configuration for templates.

FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
TAILWIND_VERSION = 'v4.1.17'
TAILWIND_BIN_PATH

property to make environment variable based settings simpler.

Parameters:
  • default (Any) – default value If it’s a string, it will be passed to the cast function When used as a decorator, this is the method.

  • key (str) – Override environment variable name (Defaults to class attribute name)

  • prefix (str) – Prefix to key when looking up os.environ

  • cast (func) – Function to cast str values.

TAILWIND_INPUT_CSS()
TEMPLATES() Sequence[dict]
Return type:

Sequence[dict]

templates_context_processors() Sequence[str]
Return type:

Sequence[str]

templates_loaders()