Add rule for django south ghost migrations
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
def match(command, settings):
|
||||
return 'manage.py' in command.script and \
|
||||
'migrate' in command.script \
|
||||
and 'or pass --delete-ghost-migrations' in command.stderr
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return u'{} --delete-ghost-migrations'.format(command.script)
|
||||
Reference in New Issue
Block a user