From 0a32fb4a8e64c76212b99e176ee6df37f7b20ae1 Mon Sep 17 00:00:00 2001
From: Corentin
Date: Sun, 27 Oct 2024 12:14:27 +0100
Subject: [PATCH] Added update course :tada:
---
redis_app/templates/details.html | 1 +
redis_app/templates/update.html | 42 ++++++++++++++++++++++++++++
redis_app/urls.py | 4 ++-
redis_app/views.py | 48 ++++++++++++++++++++++++++------
4 files changed, 86 insertions(+), 9 deletions(-)
create mode 100644 redis_app/templates/update.html
diff --git a/redis_app/templates/details.html b/redis_app/templates/details.html
index b07de7e..6924bb6 100644
--- a/redis_app/templates/details.html
+++ b/redis_app/templates/details.html
@@ -23,6 +23,7 @@
{% if person %}
{% if person.role == "Teacher" %}
Delete
+ Update
{% endif %}
{% endif %}
+
+
+