feat: create per song page
feat: add edit id
This commit is contained in:
1 parent
cb050dbc44
commit
6595eed927
4 files changed
+53
-2
No files matched your search
@@ -322,6 +322,12 @@ def admin_list():
|
||||
songs = load_songs_list()
|
||||
return render_template("admin_tasksList.html", songs=songs)
|
||||
|
||||
@bp.route("/admin/add/<task>")
|
||||
@admin_required
|
||||
def admin_add_task(task):
|
||||
print(task)
|
||||
return render_template("admin_add_task.html")
|
||||
|
||||
@bp.route("/api/admin/add", methods=["POST"])
|
||||
@admin_required
|
||||
def api_admin_add():
|
||||
|
||||
Reference in new issue
Block a user