@classmethod
def database_connect(cls):
    """
        Make sure database is connected.

        Trying to connect a second
        time *does* cause problems.
        """
    if not cls._meta.database.is_closed():
        cls._meta.database.close()
    cls._meta.database.connect()
