boardinghouse.backends.postgres.creation module

class boardinghouse.backends.postgres.creation.DatabaseCreation(connection)[source]

Bases: django.db.backends.postgresql.creation.DatabaseCreation

deserialize_db_from_string(data)[source]

Reloads the database with data from a string generated by the serialize_db_to_string method.

serialize_db_to_string()[source]

Serializes all data in the database into a JSON string. Designed only for test runner usage; will not handle large amounts of data.