From 4a6acc8b0df3e3593f5078b15310d95934a572f7 Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Wed, 15 Jun 2022 02:34:55 +0200 Subject: [PATCH] Fix spelling in URLs --- CHANGELOG.rst | 1 + aleksis/apps/chronos/urls.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dc1f385d..bf822c80 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -26,6 +26,7 @@ Fixed * Optimize exam model and add reference to exams at extra lessons. * Lessons weren't shown as cancelled on teacher or room timetables if events had replaced them. +* The URLs containing the term "substitution" were missspelled. `2.3`_ - 2022-03-21 ------------------- diff --git a/aleksis/apps/chronos/urls.py b/aleksis/apps/chronos/urls.py index 641bf223..411e5cd8 100644 --- a/aleksis/apps/chronos/urls.py +++ b/aleksis/apps/chronos/urls.py @@ -34,12 +34,12 @@ urlpatterns = [ name="lessons_day_by_date", ), path( - "lessons/<int:id_>/<int:week>/substition/", + "lessons/<int:id_>/<int:week>/substitution/", views.edit_substitution, name="edit_substitution", ), path( - "lessons/<int:id_>/<int:week>/substition/delete/", + "lessons/<int:id_>/<int:week>/substitution/delete/", views.delete_substitution, name="delete_substitution", ), -- GitLab