fabfile.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:eshop 作者: djangogirlstaipei 项目源码 文件源码
def manage(command=""):
    with prefix('source {0}venv/bin/activate && export DATABASE_URL={1}'.format(PROJECT_DIR, DATABASE_URL)):
        with cd(DJANGO_DIR):
            run('python manage.py {0}'.format(command))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号