diff --git a/applications/backend/django_server/news/forms.py b/applications/backend/django_server/news/forms.py
deleted file mode 100644
index b6c6fbc..0000000
--- a/applications/backend/django_server/news/forms.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from django import forms
-
-
-class InputForm(forms.Form):
- user_input = forms.CharField(label="Enter your text", max_length=100)
diff --git a/applications/backend/django_server/news/templates/display.html b/applications/backend/django_server/news/templates/display.html
deleted file mode 100644
index b6d912c..0000000
--- a/applications/backend/django_server/news/templates/display.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Display Input
-
-
-You entered: {{ user_input }}
-
-
diff --git a/applications/backend/django_server/news/templates/input.html b/applications/backend/django_server/news/templates/input.html
deleted file mode 100644
index 148281c..0000000
--- a/applications/backend/django_server/news/templates/input.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- User Input
-
-
-
-
-
diff --git a/applications/backend/django_server/news/urls.py b/applications/backend/django_server/news/urls.py
index f4e90e6..5119061 100644
--- a/applications/backend/django_server/news/urls.py
+++ b/applications/backend/django_server/news/urls.py
@@ -3,6 +3,5 @@
from . import views
urlpatterns = [
- path("", views.input_view, name="input"),
- path("display/", views.display_view, name="display"),
+ path("", views.index, name="index"),
]
diff --git a/applications/backend/django_server/news/views.py b/applications/backend/django_server/news/views.py
index 6196f6c..c5f9ac3 100644
--- a/applications/backend/django_server/news/views.py
+++ b/applications/backend/django_server/news/views.py
@@ -1,7 +1,4 @@
-from django.http import HttpResponse, JsonResponse
-from django.shortcuts import redirect, render
-
-from .forms import InputForm
+from django.http import JsonResponse
# Create your views here.
@@ -12,19 +9,3 @@ def index(request):
"status": "ok",
}
)
-
-
-def input_view(request):
- if request.method == "POST":
- form = InputForm(request.POST)
- if form.is_valid():
- request.session["user_input"] = form.cleaned_data["user_input"]
- return redirect("display")
- else:
- form = InputForm()
- return render(request, "input.html", {"form": form})
-
-
-def display_view(request):
- user_input = request.session.get("user_input", "No input provided")
- return render(request, "display.html", {"user_input": user_input})
diff --git a/applications/frontend/app.vue b/applications/frontend/app.vue
index 486423d..d0309b6 100644
--- a/applications/frontend/app.vue
+++ b/applications/frontend/app.vue
@@ -4,7 +4,7 @@
This nuxt js website is hosted on Google Cloud Platform
-
+