Giter VIP home page Giter VIP logo

layblog's Introduction

此文档是基于layui前端框架(前端不是专业的,推荐使用此框架)和Django后台框架的精简博客

此项目是为了做Django的基础使用教程课件,下载后可正常运行(仅做基础教程).

效果如下:

2020-03-07-13-23-55202037132357

2020-03-07-13-35-20202037133522

django涉及到的基础

  • 自定义模板tag
  • HTML模板的继承
  • Django自带admin的基础使用
  • 数据model的使用
  • django-restframework对rest接口的使用
  • Django2版本上对url规则的定义
  • 借助layui前端框架进行布局
  • 自定义异常(Error)返回规范
  • 引用editor.md渲染前端Markdown信息流
  • admin中使用django-mdeditor编写文章
  • 数据调用模式:ajax请求和模板渲染
  • django-validator库的使用(强烈推荐,已修改为兼容Python3)

layblog's People

Watchers

 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.