diff --git a/yadc/bp/manage.py b/yadc/bp/manage.py index ea5fc77..8233c4b 100644 --- a/yadc/bp/manage.py +++ b/yadc/bp/manage.py @@ -63,7 +63,7 @@ def manage_tags(page): @admin_required def modify_user(): form = UserForm(request.form) - flash(str(request.form)) + # flash(str(request.form)) if form.validate(): if form.create.data: el = User(username=form.username.data) @@ -100,7 +100,7 @@ def modify_user(): @moderator_required def modify_post(): form = PostForm(request.form) - flash(str(request.form)) + # flash(str(request.form)) if form.validate(): if form.create.data: pass @@ -126,7 +126,7 @@ def modify_post(): @moderator_required def modify_tag(): form = TagForm(request.form) - flash(str(request.form)) + # flash(str(request.form)) if form.validate(): if form.create.data: el = Tag(content_deser=form.content.data) @@ -157,7 +157,7 @@ def modify_tag(): @login_required def modify_comment(): form = CommentForm(request.form) - flash(str(request.form)) + # flash(str(request.form)) if form.validate(): if form.create.data: el = Comment(content=form.content.data, post_id=form.post_id.data, user=current_user)