Skip to content

A django+boostrap forum practice (imitating the design of v2ex.com)

Notifications You must be signed in to change notification settings

kdplus/liteforum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liteforum

A django+boostrap forum practice (imitating the design of v2ex.com)

视频上传

  • 使用七牛云python-sdk上传
  • __需要__在view.py里的add_post部分里的qiniu处将'bucket_src',qiniu.Auth('','')三个位置分别改为自己的七牛空间,ak,sk.详见七牛云文档
  • 上传后立即执行转码,代码同在qiniu注释下方.详见七牛运转码
  • 程序将自动为每一个新视频建立新的.xml文件前缀为文件名.mp4
  • __需要__将绝对路径改为自己的路径(相对路径暂时报错)

使用到的第三方app

  • grappelli(美化admin)文档
  • django_gravatar(使用邮箱头像)文档
  • pagedown,markdown_deux(支持markdown)文档 文档2
  • django_comments,disqus(评论,暂时搁置)文档 文档2
  • 以上app__需要__下载安装

备注

  • clone后需要调整setting.py中database项
  • 执行python manage.py makemigrations
  • 执行python manage.py makemigrate
  • 执行python manage.py collectstatic
  • 其他自行调整

TODO

  • comments
  • like it
  • tags
  • 关注
  • 收藏
  • 个人删改权限
  • 提醒
  • 个人页面
  • 个人信息补全

目前效果

image image image image image image image image image image image image image

About

A django+boostrap forum practice (imitating the design of v2ex.com)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published