Giter VIP home page Giter VIP logo

cnblog's Introduction

BBS+BLOG系统

https://www.cnblogs.com/alice-bj/p/9160388.html

一、简介:

  1. 博客系统开发:
  2. 注册,登录,首页
  3. 个人站点,分组:(分类,标签,归档)
  4. 文章详细页
  5. 点赞,踩灭
  6. 评论楼,评论树
  7. 后台管理,发布文章,文件上传
  8. BeautifulSoup
  9. 日志

二、功能:

数据库          models.py

注册            /reg/
    上传头像    request.FILES.get('avatar')

登录            /login/
    随机验证码  /get_valid_img/

首页            /index/

个人站点
    分类,标签,归档 /blog/egon/

文章详细页       /blog/egon/articles/2/

点赞,踩灭       /blog/poll/
    ajax的post 事务

评论楼,评论树   /blog/comment/
    根评论,子评论
    render显示,ajax显示

后台管理,发布文章  /backend/index/
    新建APP
    认证装饰器
    编辑器(KindEditor)
    文件上传      /media/article_imgs/...

防止XSS攻击
    BeautifulSoup

三、结构

cnblog
├── backend
│   ├── static
│   │   ├── css
│   │   │   ├── backend.css
│   │   ├── js
│   │   │   ├── add_article.js
│   │   │   ├── jquery-3.2.1.js
│   │   │   └── jquery-3.2.1.min.js
│   │   └── kindeditor
│   │       ├── kindeditor-all.js
│   │       ├── kindeditor-all-min.js
│   ├── tests.py
│   ├── urls.py
│   └── views.py
├── blog
│   ├── admin.py
│   ├── apps.py
│   ├── media
│   │   ├── article_imgs
│   │   │   ├── girl.jpg
│   │   │   ├── jiqimao.gif
│   │   │   ├── jiqimao.jpg
│   │   │   └── lufei.jpg
│   │   ├── avatars
│   │   │   ├── girl.jpg
│   │   │   ├── lufei.jpg
│   ├── models.py
│   ├── myforms.py
│   ├── settings.py
│   ├── static
│   │   ├── bootstrap-3.3.7
│   │   │   ├── css
│   │   │   │   ├── bootstrap.css
│   │   │   ├── fonts
│   │   │   └── js
│   │   │       ├── bootstrap.js
│   │   │       ├── bootstrap.min.js
│   │   ├── css
│   │   │   ├── article_detail.css
│   │   │   ├── login.css
│   │   │   └── reg.css
│   │   ├── font
│   │   │   └── kumo.ttf
│   │   ├── img
│   │   │   ├── default.png
│   │   │   ├── downdown.gif
│   │   │   ├── icon_form.gif
│   │   │   └── upup.gif
│   │   ├── js
│   │   │   ├── article_detail.js
│   │   │   ├── jquery-3.2.1.js
│   │   │   ├── jquery-3.2.1.min.js
│   │   │   ├── login.js
│   │   │   └── reg.js
│   │   └── theme
│   │       ├── egon.css
│   │       └── yuan.css
│   ├── templatetags
│   │   ├── my_tags.py
│   ├── tests.py
│   ├── urls.py
│   ├── valid_img.py
│   └── views.py
├── cnblog
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
├── log
│   ├── cnblog_collect.log
│   ├── cnblog_err.log
│   ├── cnblog_info.log
├── manage.py
└── templates
    ├── add_article.html
    ├── article_detail.html
    ├── backend.html
    ├── base.html
    ├── homesite.html
    ├── index.html
    ├── login.html
    ├── menu.html
    └── reg.html

四、账号:

egon egon1234 
yuan yuan1234 
alex alex1234

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.