from fabric.api import *
import os
PATH = os.path.dirname(__file__)


@task
def django(args):
    return local('%s/bin/python %s/abrakadaban/manage.py %s' % (PATH, PATH,
        args))


@task
def shell():
    django('shell')


@task
def runserver():
    django('runserver')


@task
def syncdb():
    django('syncdb --noinput')
    django('loaddata %s/abrakadaban/kanban/fixtures/superuser.json' % PATH)


@task
def sync_and_run():
    syncdb()
    runserver()

9b7c9a07fbf787cd866b40f070cd6b9c6918a8b9
<mask token>


@task
def django(args):
    return local('%s/bin/python %s/abrakadaban/manage.py %s' % (PATH, PATH,
        args))


@task
def shell():
    django('shell')


<mask token>


@task
def syncdb():
    django('syncdb --noinput')
    django('loaddata %s/abrakadaban/kanban/fixtures/superuser.json' % PATH)


@task
def sync_and_run():
    syncdb()
    runserver()

<mask token>


@task
def django(args):
    return local('%s/bin/python %s/abrakadaban/manage.py %s' % (PATH, PATH,
        args))


@task
def shell():
    django('shell')


@task
def runserver():
    django('runserver')


@task
def syncdb():
    django('syncdb --noinput')
    django('loaddata %s/abrakadaban/kanban/fixtures/superuser.json' % PATH)


@task
def sync_and_run():
    syncdb()
    runserver()

<mask token>
PATH = os.path.dirname(__file__)


@task
def django(args):
    return local('%s/bin/python %s/abrakadaban/manage.py %s' % (PATH, PATH,
        args))


@task
def shell():
    django('shell')


@task
def runserver():
    django('runserver')


@task
def syncdb():
    django('syncdb --noinput')
    django('loaddata %s/abrakadaban/kanban/fixtures/superuser.json' % PATH)


@task
def sync_and_run():
    syncdb()
    runserver()

from fabric.api import *
import os
PATH = os.path.dirname(__file__)


@task
def django(args):
    return local('%s/bin/python %s/abrakadaban/manage.py %s' % (PATH, PATH,
        args))


@task
def shell():
    django('shell')


@task
def runserver():
    django('runserver')


@task
def syncdb():
    django('syncdb --noinput')
    django('loaddata %s/abrakadaban/kanban/fixtures/superuser.json' % PATH)


@task
def sync_and_run():
    syncdb()
    runserver()
