Giter Site home page Giter Site logo

python_blog's Introduction

Python_Blog

使用python3写的blog程序,代码基于廖雪峰的python3教程结尾的实战内容 做了一些修改并完善了某些功能。

依赖的第三方库

  • aiomysql
  • aiohttp
  • jinja2
  • markdown2
  • watchdog(开发环境使用)
  • pygments

增加修改的主要功能

  1. 文章分类功能
  2. 本地评论管理中可以直接跳转到相应评论处
  3. 用户信息页面
  4. 图片上传功能
  5. 可选使用Disqus评论系统
  6. 使用JSON格式配置文件,并支持注释
  7. 完善程序退出机制,手工退出不会报错
  8. 代码高亮,gfm风格的markdown代码块
  9. 后台管理页面采用单页应用风格

安装后默认账号

安装后请尽快修改默认账号密码 账号:[email protected] 密码:admin

关于页面

创建标题为"__about__"的博客即可 更详细说明请浏览:www.cashqian.net/about

python_blog's People

Contributors

kailin4u avatar qqj1228 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

python_blog's Issues

您好 ,看了您的代码,感觉受益匪浅

有个小问题,想请教一下。
您是在每一个请求中返回web_meta配置信息,
image
我想是不是可以在进行页面跳转的时候,把配置信息直接存进去,这样避免每次都要返回web_meta。
tim 20170922120900
但是总报这种错误:
tim 20170922120910
请问如何解决?
或者有没有别的办法能够实现这个想法?谢谢

注册了,但不能评论

如果你想重构博客的话,可以互相研究参考。这是我的博客代码,重构得比较彻底,前后端解耦分离,用了双模板(bootstrap和uikit),js和html解耦,一个api或一个js对应两个甚至多个html文件。vue.js升级到1.0.24,准备升级2.0,支持智能markdowm代码高亮,评论区和管理页面的ajax实现...

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.