boardinghouse.receivers module¶
-
boardinghouse.receivers.
create_schema
(sender, instance, created, **kwargs)[source]¶ Actually create the schema in the database.
We do this in a signal handler instead of .save() so we can catch those created using raw methods.
How do we indicate when we should be using a different template?
-
boardinghouse.receivers.
inject_schema_attribute
(sender, instance, **kwargs)[source]¶ A signal listener that injects the current schema on the object just after it is instantiated.
You may use this in conjunction with
MultiSchemaMixin
, it will respect any value that has already been set on the instance.
-
boardinghouse.receivers.
invalidate_all_caches
(sender, **kwargs)[source]¶ Invalidate all schemata caches. Not entirely sure this one works.