向django cms添加文件插件
djangocms-file的Python项目详细描述
============
django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-http://django cms.org>;
django cms-django cms-django cms-django cms-django-django-django-django-django-django-django-
它使用由“django filer”管理的文件<;https://github.com/divio/django filer>;` `.
image::preview.gif
参与
===
这是一个开源项目我们很高兴收到您的
反馈,包括问题和请求。在提交您的拉取请求之前,请查看我们的“贡献指南”
<;http://docs.django cms.org/en/latest/contribution/index.html>;` `.
我们感谢所有帮助创建和维护此包的贡献者。
贡献者在“贡献者”中列出<;https://github.com/divio/djangocms file/graphs/contributors>;`部分。
https://github.com/divio/djangocms file/blob/master/setup.py>;`
其他依赖项的文件:
*django filer 1.2.4或更高版本
确保“django filer<;http://django filer.readthedocs.io/en/latest/installation.html>;`
已正确安装和配置。
installation
----
对于手动安装:
*运行``pip install djangocms file``
*将``djangocms`文件``添加到``已安装的应用``
*运行``python manage.py迁移djangocms`文件``
提供的模板在设计上非常少。我们鼓励您根据项目的要求调整和覆盖它们。
此加载项为所有实例提供“默认”模板通过添加“djangocms_file_templates”`
设置:
djangocms_file_templates=[
('feature','featured version'),可以提供
其他模板选项,>你需要在“模板”中创建“功能”文件夹,否则你将得到一个*模板不存在*错误。您可以通过在该目录中复制“default”文件夹并将其重命名为
“feature”来完成此操作。
running tests
----
执行以下操作来运行测试::
virtualenv env
source env/bin/activate
pip install-r test_requirements/base.txt
python setup.py测试
…| pypi image::https://badge.fury.io/py/djangocms file.svg
:目标:http://badge.fury.io/py/djangocms file
。|构建图像::https://travis-ci.org/divio/djangocms-file.svg?branch=master
:目标:https://travis ci.org/divio/djangocms文件
…|覆盖范围图像::https://codecov.io/gh/divio/djangocms file/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/divio/djangocms file
。| python图像::https://img.shields.io/badge/python-2.7%20%7c%203.4+-蓝色.svg
:目标:https://pypi.org/project/djangocms file/
…| django图像::https://img.shields.io/badge/django-1.11%20%7c%202.1%20%7c%202.2-blue.svg
:目标:https://www.djangoproject.com/
。| django cms图像::https://img.shields.io/badge/django%20cms-3.4%2b blue.svg
:目标:https://www.django-cms.org/
django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-django cms-http://django cms.org>;
django cms-django cms-django cms-django cms-django-django-django-django-django-django-django-
它使用由“django filer”管理的文件<;https://github.com/divio/django filer>;` `.
image::preview.gif
参与
===
这是一个开源项目我们很高兴收到您的
反馈,包括问题和请求。在提交您的拉取请求之前,请查看我们的“贡献指南”
<;http://docs.django cms.org/en/latest/contribution/index.html>;` `.
我们感谢所有帮助创建和维护此包的贡献者。
贡献者在“贡献者”中列出<;https://github.com/divio/djangocms file/graphs/contributors>;`部分。
https://github.com/divio/djangocms file/blob/master/setup.py>;`
其他依赖项的文件:
*django filer 1.2.4或更高版本
确保“django filer<;http://django filer.readthedocs.io/en/latest/installation.html>;`
已正确安装和配置。
installation
----
对于手动安装:
*运行``pip install djangocms file``
*将``djangocms`文件``添加到``已安装的应用``
*运行``python manage.py迁移djangocms`文件``
提供的模板在设计上非常少。我们鼓励您根据项目的要求调整和覆盖它们。
此加载项为所有实例提供“默认”模板通过添加“djangocms_file_templates”`
设置:
djangocms_file_templates=[
('feature','featured version'),可以提供
其他模板选项,>你需要在“模板”中创建“功能”文件夹,否则你将得到一个*模板不存在*错误。您可以通过在该目录中复制“default”文件夹并将其重命名为
“feature”来完成此操作。
running tests
----
执行以下操作来运行测试::
virtualenv env
source env/bin/activate
pip install-r test_requirements/base.txt
python setup.py测试
…| pypi image::https://badge.fury.io/py/djangocms file.svg
:目标:http://badge.fury.io/py/djangocms file
。|构建图像::https://travis-ci.org/divio/djangocms-file.svg?branch=master
:目标:https://travis ci.org/divio/djangocms文件
…|覆盖范围图像::https://codecov.io/gh/divio/djangocms file/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/divio/djangocms file
。| python图像::https://img.shields.io/badge/python-2.7%20%7c%203.4+-蓝色.svg
:目标:https://pypi.org/project/djangocms file/
…| django图像::https://img.shields.io/badge/django-1.11%20%7c%202.1%20%7c%202.2-blue.svg
:目标:https://www.djangoproject.com/
。| django cms图像::https://img.shields.io/badge/django%20cms-3.4%2b blue.svg
:目标:https://www.django-cms.org/