boardinghouse.contrib.demo.apps module¶
-
class
boardinghouse.contrib.demo.apps.
BoardingHouseDemoConfig
(app_name, app_module)[source]¶ Bases:
django.apps.config.AppConfig
-
boardinghouse.contrib.demo.apps.
check_demo_expiry_is_timedelta
(app_configs=None, **kwargs)[source]¶ BOARDINGHOUSE_DEMO_PERIOD should be a timedelta instance.
-
boardinghouse.contrib.demo.apps.
check_demo_prefix_stats_with_underscore
(app_configs=None, **kwargs)[source]¶ Ensure that the prefix for demo schemata 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.