TODO¶
- Add in views for allowing inviting of users (registered or not) into a schema.
- Provide a better error when
loaddata
is run without--schema
, and an error occurred. - Use the
schema
attribute on serialised objects to load them into the correct schema. I think this is possible.
Tests to write¶
- Test middleware handling of
boardinghouse.schema.TemplateSchemaActivated
. - Ensure get_admin_url (non-schema-aware model) still works.
- Test backwards migration of
boardinghouse.operations.AddField
- Test running migration (
boardinghouse.backends.postgres.schema.wrap()
, specifically.) - Test
boardinghouse.schema.get_active_schema_name()
- Test saving a schema clears the global active schemata cache
User.visible_schemata property testing:
- Test adding schemata to a user clears the cache.
- Test removing schemata from a user clears the cache.
- Test adding users to schema clears the cache.
- Test removing users from a schema clears the cache.
- Test saving a schema clears the cache for all associated users.
Example Project¶
- include user and log-entry data in fixtures
- write some non-admin views and templates