UNIX命令行工具,用于bash/shell实用工具单元测试
项目描述
作者: Pahaz Blinov
仓库: https://github.com/pahaz/django-smart-collectstatic/
微修复Django manage.py collectstatic命令。
此修复使用COPY和LINK策略收集静态文件。
如果静态文件位于settings.BASE_DIR,则将其链接。否则将其复制。
仅在Django 1.9、1.10和Python 3.4、3.5上进行了测试
安装
django-smart-collectstatic位于PyPI,因此只需运行
pip install django-smart-collectstatic
或
easy_install django-smart-collectstatic
以将其安装到您的环境中。
要从源安装,克隆仓库并运行
python setup.py install
如果您没有pip,您可以安装它
典型用例
我在Docker容器内部使用它。用于收集Django静态。
Dockerfile
... RUN python3 manage.py smartcollectstatic --noinput --link ...
项目详情
关闭
django-smart-collectstatic-0.1.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 0782c9d74929e0aa1e95026077d649d863886f69a339e34b1333166bf39b3a77 |
|
MD5 | 76667b6818ed9db8225cebf80af43a36 |
|
BLAKE2b-256 | 322faace80396ece6b560b87884910d7e9822ebd2b92520a9f63a33a6f8b20d1 |