From e91905089d0c4b9e45360cc50d0829376dfa6e1b Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 25 Aug 2023 18:33:48 +0200 Subject: [PATCH] kp was ich gemacht habe --- Website/__init__.py | 5 ----- Website/__pycache__/__init__.cpython-311.pyc | Bin 27232 -> 26635 bytes .../test_website.cpython-311-pytest-7.4.0.pyc | Bin 43257 -> 47453 bytes tests/test_website.py | 20 +++++++++++++++++- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/Website/__init__.py b/Website/__init__.py index 1c585ad..041dcda 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -134,11 +134,6 @@ def create_app(test_config=None): def new_user(): return render_template("adduser.html") - @app.route("/removeuser/confirmation", methods=['GET']) - def confirm_remove_user(): - user_id = request.args.get("id") - return f'

user and tag list | Documentation

Do your realy want to remove the user

' - @app.route("/removeuser", methods=['GET']) def remove_user(): db = get_db() diff --git a/Website/__pycache__/__init__.cpython-311.pyc b/Website/__pycache__/__init__.cpython-311.pyc index d5af4ffceba46610e64b7d2d30de4f890f948b4f..456d69343959951c066ed99a4b690f40dd166fda 100644 GIT binary patch delta 1758 zcmaKs?@v=#7{~9q?Y;d)f!oqT%a0ZcXa@lq4#$sy!67CapctJg3@F}bJ`~l$?5}=`?=F;7udLe_^H~{`AzOm=3Kul2+PW{YuSBMND#Qx?gf8qu6#vF zNP++(tp!jkHG7l^CQA=hY-7d+l2Tw^DlL3*#f&R4e~S5FQ7nV|QjJNOa6rR}B5=te zld|rFXkG>)|RX&E3Pq7buC#p*{*lC_ZAi`nQcF|dW+MVf-H?Sqxoe=>vNA0wJ1wrPq|>-R#@YE`FJa?6*sHQpQU%CcdRc~bIy>v&P|ck&A#+tF+?rN zipk03DBU$jS(e_J&e0IqHAnhBf>}|ynX@k1y`@aUYB8x5S*pBD{h^m@Q7e~(|MVa~ zrKDVH)h+S35U$oc9c$iCzYUpfh9w!-=ff^z|%{`%f0Ceow( zYCjU?UbaO0;JdoY{1a$)Au164@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