boardinghouse.apps module¶
-
class
boardinghouse.apps.
BoardingHouseConfig
(app_name, app_module)[source]¶ Bases:
django.apps.config.AppConfig
Default AppConfig for django-boardinghouse.
-
boardinghouse.apps.
check_db_backend
(app_configs=None, **kwargs)[source]¶ Ensure all database backends are using a backend that we work with.
-
boardinghouse.apps.
check_session_middleware_installed
(app_configs=None, **kwargs)[source]¶ Ensure that SessionMiddleware is installed.
Without it, we would be unable to store which schema should be active for a given request.
-
boardinghouse.apps.
inject_required_settings
()[source]¶ Inject our middleware and context processor.
boardinghouse.middleware.SchemaMiddleware
boardinghouse.context_processors.schemata