Giter Club home page Giter Club logo

django-blog-web's Introduction

基于Django的小型博客网站

django框架的第一次尝试,初步对:django项目和应用的创建,模型models的设计,数据库迁移,数据库查询QuerySet,管理站点,视图views,模板templates 标签tags 过滤器filtersURLs,表单forms等功能进行尝试,制作出的博客应用。

博客主要功能

1.博客列表页面:
构建Post模型,分页展示博客名称、内容概述;运用第三方标签应用django-taggit,增加标签分类浏览功能;支持markdown显示。

2.博客详情页面:
通过email分享博客;构建Comment模型提供评论表单,显示博客评论;当前博客根据相同标签tag,推荐相似博客;自定义模板标签template tags,显示博客总数、最新博客和最多评论博客;支持markdown显示。

3.管理员页面
定制models管理员编辑页面。

4.扩展功能
为搜索引擎创建了一个站点地图sitemap,爬取你的站点以及一个RSS feed 给用户来订阅。在项目中集成SlorHaystack为blog应用构建了一个搜索引擎。

|- django-blog-web  
    |- blog\      #应用目录
    |- mysite\    #项目目录
    #...

django-blog-web's People

Contributors

mortif3767 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.