您的位置:首页 > 大数据 > 人工智能

Django个人博客开发(五:detail comment、六:admin CommentForm)

2017-03-24 22:47 435 查看

      将之前letflysite.com中的letflysite.com点击此到源码开发系列步骤迁移至此,一至四可以参照Django中文文档中的新手入门。

五:detail comment. A:add lblog/detail.html,add detail to lblog/views.py,blog.css; B:config widget_tweaks in settings.py,add comment to detail.html

A、


B、





六:admin CommentForm. A:amend settings.py to zh,amend admin.py; B:add context[form]=CommentForm() to lblog/views.py/class GetDetail/get_context_data()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: