From 8a84a8d42f5a94f19565d055ec230ad69b94e947 Mon Sep 17 00:00:00 2001 From: Pierre Geeraert Date: Mon, 2 Jun 2025 13:52:01 +0100 Subject: [PATCH] works on the view --- django_code/dashboard/templates/success.html | 131 +++++++++++++++++++ django_code/dashboard/views.py | 3 + 2 files changed, 134 insertions(+) create mode 100644 django_code/dashboard/templates/success.html diff --git a/django_code/dashboard/templates/success.html b/django_code/dashboard/templates/success.html new file mode 100644 index 0000000..7f76e06 --- /dev/null +++ b/django_code/dashboard/templates/success.html @@ -0,0 +1,131 @@ + + + + + +Bootstrap Simple Success Confirmation Popup + + + + + + + + + + +
+ + + + + + + +
+ + + \ No newline at end of file diff --git a/django_code/dashboard/views.py b/django_code/dashboard/views.py index 6175269..9c1a081 100644 --- a/django_code/dashboard/views.py +++ b/django_code/dashboard/views.py @@ -7,3 +7,6 @@ def home(request): def about(request): thislist = ["apple", "banana", "cherry"] return render(request, 'about.html',{'thislist': thislist}) + +def success(request): + return render(request, 'success.html',{'deployment': 'django','url':'https://google.com'}) \ No newline at end of file