Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(18)  |  Call(0)  |  Derive(0)  |  Import(18)

src/p/t/ptah-0.8.0/ptah/ptahsettings.py   ptah(Download)
 
    # check_version
    from ptah import migrate
    cfg.add_subscriber(migrate.check_version, ApplicationCreated)
 

src/p/t/ptah-HEAD/ptah/ptahsettings.py   ptah(Download)
 
    # check_version
    from ptah import migrate
    cfg.add_subscriber(migrate.check_version, ApplicationCreated)
 

src/p/t/ptah-0.8.0/ptah/scripts/migrate.py   ptah(Download)
 
import ptah
import ptah.migrate
from ptah import scripts
from ptah.populate import create_db_schema

src/p/t/ptah-0.8.0/ptah/__init__.py   ptah(Download)
 
    # migrations
    from ptah import migrate
    cfg.add_directive('ptah_migrate', migrate.ptah_migrate)
 

src/p/t/ptah-HEAD/ptah/scripts/migrate.py   ptah(Download)
 
import ptah
import ptah.migrate
from ptah import scripts
from ptah.populate import create_db_schema

src/p/t/ptah-HEAD/ptah/__init__.py   ptah(Download)
 
    # migrations
    from ptah import migrate
    cfg.add_directive('ptah_migrate', migrate.ptah_migrate)
 

src/p/t/ptah-HEAD/ptah/tests/test_migrate.py   ptah(Download)
    def setUp(self):
        from ptah import migrate
 
        self._pkgs = []
        def upgrade(pkg):
    def tearDown(self):
        super(TestPyramidDirective, self).tearDown()
 
        from ptah import migrate
        migrate.upgrade = self.orig_upgrade
    def setUp(self):
        from ptah import migrate
 
        self.dirs = dirs = {}
 
            shutil.rmtree(dir)
 
        from ptah import migrate
        migrate.ScriptDirectory = self.orig_ScriptDirectory
 

src/p/t/ptah-HEAD/ptah/scripts/tests/test_migrate.py   ptah(Download)
 
        # fix ScriptDirectory
        from ptah import migrate as migrate_mod
 
        self.dirs = dirs = {}
            shutil.rmtree(dir)
 
        from ptah import migrate as migrate_mod
        migrate_mod.ScriptDirectory = self.orig_ScriptDirectory
 

src/p/t/ptah-0.8.0/ptah/tests/test_migrate.py   ptah(Download)
    def setUp(self):
        from ptah import migrate
 
        self._pkgs = []
        def upgrade(pkg):
    def tearDown(self):
        super(TestPyramidDirective, self).tearDown()
 
        from ptah import migrate
        migrate.upgrade = self.orig_upgrade
    def setUp(self):
        from ptah import migrate
 
        self.dirs = dirs = {}
 
            shutil.rmtree(dir)
 
        from ptah import migrate
        migrate.ScriptDirectory = self.orig_ScriptDirectory
 

src/p/t/ptah-0.8.0/ptah/scripts/tests/test_migrate.py   ptah(Download)
 
        # fix ScriptDirectory
        from ptah import migrate as migrate_mod
 
        self.dirs = dirs = {}
            shutil.rmtree(dir)
 
        from ptah import migrate as migrate_mod
        migrate_mod.ScriptDirectory = self.orig_ScriptDirectory