boardinghouse.base module¶
-
class
boardinghouse.base.
MultiSchemaManager
[source]¶ Bases:
boardinghouse.base.MultiSchemaMixin
,django.db.models.manager.Manager
A Manager that allows for fetching objects from multiple schemata in the one request.
-
class
boardinghouse.base.
MultiSchemaMixin
[source]¶ Bases:
object
A mixin that allows for fetching objects from multiple schemata in the one request.
Consider this experimental.
Note
You probably don’t want want this on your QuerySet, just on your Manager.
Bases:
object
A Mixin that ensures a subclass will be available in the shared schema.
Bases:
boardinghouse.base.SharedSchemaMixin
,django.db.models.base.Model
A Base class for models that should be in the shared schema.
You should inherit from this class if your model _must_ be in the shared schema. Just setting the _is_shared_model attribute will not be picked up for migrations.