django-distill:Django的最低配置静态站点生成器

时间:2021-05-13 21:58:12
【文件属性】:
文件名称:django-distill:Django的最低配置静态站点生成器
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-13 21:58:12
Python django-蒸馏 django-distill是django-distill的最低配置静态站点生成器和发布者。 支持大多数Django版本,但建议使用最新版本,包括Django 3.x版本。 从1.7版本开始的django-distill仅支持Python3。已删除了对Python 2的支持。 如果您需要Python 2支持,请在您的requirements.txt或Pipfile中将django-distill distill固定到1.6版。 建议使用Python 3.6或更高版本。 django-distill扩展了现有的Django站点,可以导出功能齐全的静态站点。 它适用于前端大多为静态但您仍希望使用CMS来管理内容的网站,例如博客。 django-distill使用易于编写的可迭代函数对Django项目中的URL进行迭代,以生成要保存为静态HTML的任何页面的参数。 这些静
【文件预览】:
django-distill-master
----setup.py(1KB)
----.gitignore(749B)
----requirements.txt(16B)
----django_distill()
--------errors.py(138B)
--------publisher.py(2KB)
--------distill.py(2KB)
--------__init__.py(1KB)
--------backends()
--------renderer.py(11KB)
--------management()
----MANIFEST.in(14B)
----LICENSE(1KB)
----setup.cfg(40B)
----.github()
--------workflows()
----README.md(13KB)
----tests()
--------media()
--------test_commands.py(511B)
--------urls.py(4KB)
--------__init__.py(0B)
--------test_renderer.py(13KB)
--------static()
--------test_static.py(1KB)
--------namespaced_sub_urls.py(537B)
--------namespaced_urls.py(883B)
--------test_interface.py(574B)
--------settings.py(714B)
--------no_namespaced_urls.py(536B)
----Pipfile(164B)
----run-tests.py(398B)

网友评论