boardinghouse.contrib.template.apps module

class boardinghouse.contrib.template.apps.BoardingHouseTemplateConfig(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

ready()[source]

Override this method in subclasses to run code when Django starts.

boardinghouse.contrib.template.apps.check_template_prefix_stats_with_underscore(app_configs=None, **kwargs)[source]

Ensure that the prefix for schema template internal names starts with underscore.

This is required because a leading underscore is the trigger that the indicated schema is not a “regular” schema, and should not be activated according to the normal rules.