@task
def dump(c, fname='dump.json', no_contenttypes=False):
    py_command = '/var/www/rajkdjango2/manage.py dumpdata {}'.format(('-e contenttypes' if no_contenttypes else ''))
    command = rajk_server_connection.remote_python_command(py_command)
    c.run((command + ' > {}'.format(fname)))
@task
def dump(c, fname='dump.json', no_contenttypes=False):
    py_command = '/var/www/rajkdjango2/manage.py dumpdata {}'.format(('-e contenttypes' if no_contenttypes else ))
    command = rajk_server_connection.remote_python_command(py_command)
    c.run((command + ' > {}'.format(fname)))