add a message after posting so dummies stop doing it 3 times

graphs-n-shit
lza_menace 3 years ago
parent 00abdd5fd0
commit 7527bbfc2b

@ -112,7 +112,8 @@ def create():
post.save_thumbnail()
url = url_for('post.read', id=post.id, _external=True)
post_webhook(f"New post :doge2: [{post.id}]({url}) by `{submitter}` :neckbeard:")
return redirect(url)
flash("New post created and pending approval!")
return redirect(url_for("index"))
return render_template("post/create.html")
@bp.route("/post/<id>/approve")