def syncdb(): _local_or_run('manage syncdb --noinput')
def migrate(): _local_or_run('manage migrate --all --no-initial-data')
def loaddata(): fixtures = ' '.join(env._fixtures) _local_or_run('manage loaddata %(fixtures)s' % vars())
def south_init(): _local_or_run('manage syncdb && manage migrate 0001 --all --fake')