From 5988f9bea49168f0c156859bf58d3f3bfacfe7bc Mon Sep 17 00:00:00 2001 From: zhenchaozhu Date: Tue, 15 Nov 2016 16:38:57 +0800 Subject: [PATCH] remove breakpoint --- README.md | 12 +----------- forum/forms/user.py | 1 - requirements.txt | 4 +++- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 11e56df..f6755c9 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,5 @@ ### Django forum -*** - -demo: - -Django forum是使用Django实现的轻型现代论坛程序,是fork自[F2E.im](https://github.com/PaulGuo/F2E.im)的Django版本. -相对于原版的主要区别在于使用Django admin实现了一个简单的后台管理. - -Django forum有3个分支,master分支用于主机上部署,SAE分支是适配Sina App Engine的版本,api分支是一个试验性质的分支,详情见更新 - #### 安装部署 主机版: @@ -70,11 +61,10 @@ DEFAULT_FROM_EMAIL = '*********@qq.com' ``` 运行服务 - ```shell python manage.py runserver ``` 默认超级用户`admin@admin.com`,密码`123456`,后台`/manage/admin/` -生产环境下推荐使用gunicorn. \ No newline at end of file +生产环境下推荐使用gunicorn. diff --git a/forum/forms/user.py b/forum/forms/user.py index e9e8900..1c6838d 100644 --- a/forum/forms/user.py +++ b/forum/forms/user.py @@ -88,7 +88,6 @@ class LoginForm(forms.Form): super(LoginForm, self).__init__(*args, **kwargs) def clean(self): - import pdb; pdb.set_trace() username = self.cleaned_data.get('username') password = self.cleaned_data.get('password') diff --git a/requirements.txt b/requirements.txt index b9d662a..4cc9b2e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ -Django==1.5.2 +Django==1.8.2 Markdown==2.5.2 MySQL-python==1.2.3 +Pillow==2.7.0 +Pygments==2.0.1 -- 2.0.0