src/cm/monkey_patches.py
changeset 530 d2803c60af53
parent 504 b2e0186daa5b
child 531 80859749e6b1
equal deleted inserted replaced
529:5eeed336b992 530:d2803c60af53
     1 from south.management.commands.migrate import  Command, list_migrations
     1 from south.management.commands.migrate import  Command, list_migrations
     2 from south.db import DEFAULT_DB_ALIAS
     2 from south.db import DEFAULT_DB_ALIAS
     3 from south import migration
     3 from south import migration
       
     4 from south.migration import Migrations
       
     5 from south.exceptions import NoMigrations
     4 import sys
     6 import sys
     5 
     7 
     6 ### RBA+GIB: prevent uno custom __import__ from messing with south import machinery (to discover south enabled dj apps)
     8 ### RBA+GIB: prevent uno custom __import__ from messing with south import machinery (to discover south enabled dj apps)
     7 def new_handle(self, app=None, target=None, skip=False, merge=False, backwards=False, fake=False, db_dry_run=False, show_list=False, database=DEFAULT_DB_ALIAS, delete_ghosts=False, ignore_ghosts=False, **options):
     9 def new_handle(self, app=None, target=None, skip=False, merge=False, backwards=False, fake=False, db_dry_run=False, show_list=False, database=DEFAULT_DB_ALIAS, delete_ghosts=False, ignore_ghosts=False, **options):
     8 
    10