added title & tag for new post & fixed error handling; reply button in generated thread doesn't work

This commit is contained in:
Rocky Duan
2012-08-12 22:54:02 -07:00
parent 7b7164a101
commit 12897ffff0
7 changed files with 47 additions and 43 deletions

View File

@@ -113,7 +113,7 @@ class JsonError(HttpResponse):
indent=2,
ensure_ascii=False)
super(JsonError, self).__init__(content,
mimetype='application/json; charset=utf8', status=500)
mimetype='application/json; charset=utf8', status=400)
class HtmlResponse(HttpResponse):
def __init__(self, html=''):