From 3fa501e16b23bba6ef50f4f65434796df7af10d5 Mon Sep 17 00:00:00 2001 From: Axel Lorreyne Date: Tue, 12 Mar 2024 20:52:02 +0100 Subject: [PATCH 1/2] fix username label --- frontend/src/app/components/LoginForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/LoginForm.tsx b/frontend/src/app/components/LoginForm.tsx index d3d1d685..8e652e3d 100644 --- a/frontend/src/app/components/LoginForm.tsx +++ b/frontend/src/app/components/LoginForm.tsx @@ -28,8 +28,8 @@ const LoginForm = () => { return (
setUsername(e.target.value)} fullWidth From a4268fd7f57f9f2e55ab36d94dcd7c988882df83 Mon Sep 17 00:00:00 2001 From: Axel Lorreyne Date: Tue, 12 Mar 2024 20:56:01 +0100 Subject: [PATCH 2/2] add superuser and reset make commands --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index f625d393..e6e04f4a 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,13 @@ lint: docker exec pigeonhole-backend flake8 . docker exec pigeonhole-frontend npm run lint +superuser: + docker exec -it pigeonhole-backend python manage.py createsuperuser + +reset: + docker image prune -af + docker system prune + backendtest: docker exec -it pigeonhole-backend sh /usr/src/app/backend/runtests.sh