From fe3b1f00baabc8e829b4ecec565ea8e66347dc38 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Sun, 28 Dec 2025 15:38:22 +0100 Subject: [PATCH] / added --- argocd/deployment.yaml | 2 +- boxes/views.py | 8 ++++++-- labhelper/urls.py | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 284887d..613dd21 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -25,7 +25,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.006 + image: git.baumann.gr/adebaumann/labhelper:0.007 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/boxes/views.py b/boxes/views.py index 91ea44a..d63d021 100644 --- a/boxes/views.py +++ b/boxes/views.py @@ -1,3 +1,7 @@ -from django.shortcuts import render +from django.http import HttpResponse -# Create your views here. + +def index(request): + """Simple index page.""" + html = '

LabHelper

Admin

' + return HttpResponse(html) diff --git a/labhelper/urls.py b/labhelper/urls.py index 3f64610..8efd033 100644 --- a/labhelper/urls.py +++ b/labhelper/urls.py @@ -19,7 +19,10 @@ from django.conf.urls.static import static from django.contrib import admin from django.urls import path +from boxes.views import index + urlpatterns = [ + path('', index, name='index'), path('admin/', admin.site.urls), ]