Kachel Wartung
This commit is contained in:
parent
47b3fcccc8
commit
c1bf15138a
5 changed files with 156 additions and 13 deletions
14
app.py
14
app.py
|
|
@ -127,7 +127,7 @@ def get_balance():
|
|||
|
||||
return None
|
||||
@app.route("/")
|
||||
@app.route("/")
|
||||
|
||||
def index():
|
||||
|
||||
(
|
||||
|
|
@ -387,6 +387,18 @@ def delete_word(category, word):
|
|||
return redirect(
|
||||
f"/categories/edit/{category}"
|
||||
)
|
||||
@app.route("/maintenance")
|
||||
def maintenance():
|
||||
|
||||
year, week, _ = datetime.now().isocalendar()
|
||||
|
||||
return render_template(
|
||||
"maintenance.html",
|
||||
year=year,
|
||||
week=week
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
app.run(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue