django的一个轻量级博客应用程序。
django-hermes的Python项目详细描述
Django Hermes
django的一个轻量级博客应用程序。
安装
下载
pip install django-hermes
添加到已安装的应用程序
在Django设置文件中,将Hermes添加到已安装的应用程序中:
INSTALLED_APPS = ( ... 'hermes', ... )
设置URL
在根urlconf中包含hermes.url:
url(r'^blog/', include('hermes.urls')),
创建模板
Hermes需要三个模板:
- hermes/post_list.html
- hermes/post_detail.html
- hermes/random_post_list.html
待办事项
- 创建Sphinx文档
- 支持标记
- 注解是中等的吗?