def register(self, model):
        """Register a model in self."""
        self.models[model._meta.table_name] = model
        model._meta.database = self.database
        return model
def register(self, model):
        """Register a model in self."""
        self.models[model._meta.table_name] = model
        model._meta.database = self.database
        return model
def register ( self , model ) : self . models [ model . _meta . table_name ] = model model . _meta . database = self . database return model
Register a model in self.
Register a model in self .