django.db.connection.schema - python examples

Here are the examples of the python api django.db.connection.schema taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Complete Implementation : schema.py
Copyright MIT License
Author : lorinkoz
    def activate(self):
        """
        Syntax sugar that helps with fast tenant changing

        Usage:
            some_schema_descriptor.activate()
        """
        self.previous_schema = connection.schema
        connection.set_schema(self)