Skip to content

This is a small and simple forum which uses the Django Framework (written in Python language).这是一个基于django的小型论坛系统

Notifications You must be signed in to change notification settings

shihyu/django_forum

 
 

Repository files navigation

django_forum

This is a small and simple forum which uses the Django Framework (written in Python language).
这是一个基于django的小型论坛系统

这是个基于 Python django 的小型论坛系统

本系统实现了一般论坛的主要功能,包括发帖,评论,评论回复,评论通知,加好友,好友消息,消息通知,简单积分规则。

由于作者的前台技术不咋的,所以前台页面随便找了两个模版套上,大部分页面都只有模版标签,大家就看个功能吧,熟悉前台的可以自己写个漂亮的页面,把标签套上就可以了。

python 2.7 + django 1.7
系统部署于新浪云SAE (django1.5)(关于SAE部署静态文件问题,SAE默认是static,这时可以设置STATIC_ROOT=os.path.join(BASE_DIR, "static"),在本地执行了collectstatic后,将static文件夹部署)
demo演示:http://pushiqiang.sinaapp.com/
github项目:https://github.com/pushiqiang/django_forum.git
qq:983003089

更新:

2016.2.12 更新发帖验证码功能

功能:

1.发帖,删帖,编辑功能,使用tinymce富文本编辑器。
2.多级评论,评论单级列表显示。
3.加好友功能,好友消息功能,贴子评论回复通知功能。
4.实现了用户注册,登陆功能(头像,密码更改,密码找回功能还未实现),通过邮箱通知注册用户。
5.论坛在线人数统计,帖子评论/浏览数统计。
6.简单的积分规则,发帖+5,登录+1,评论+3

使用到的技术:

1.中间件技术(实现在线人数统计)。
2.自定义过滤器(好友判断)。
3.通用类视图(ListView,DetailView,CreateView,UpdateView,DeleteView)。
4.django信号机制+ContentType机制(实现帖子消息评论回复功能)。
5.少量缓存功能。


PS:在网上找了很久基于django的论坛系统,有很多blog系统,却很少发现forum系统,有个lbforum系统还是个论坛引擎框架,故一直想自己写个小微型的django论坛系统,于是趁着过年几天的空闲写了这么个系统,权当练手了,可能还有很多bug和待改善的地方,大神勿笑,有兴趣的朋友可以看看。

预览

demo1 demo2 demo3 demo4

About

This is a small and simple forum which uses the Django Framework (written in Python language).这是一个基于django的小型论坛系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 49.0%
  • JavaScript 29.7%
  • Python 11.8%
  • HTML 9.5%