aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-09-13 19:49:46 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2022-09-13 19:49:46 +0200
commit4fcf257ad37fad25db594c366dfbcf93ab3bf317 (patch)
tree193d998899028130a9f82e9b58a2e01dfa8de1be /client
parentpermit multiple documents of the same type (diff)
downloadscout-subs-4fcf257ad37fad25db594c366dfbcf93ab3bf317.tar.gz
scout-subs-4fcf257ad37fad25db594c366dfbcf93ab3bf317.zip
remove unused/useless code
Diffstat (limited to '')
-rw-r--r--client/views.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/client/views.py b/client/views.py
index 4cb3d3d..bf2a641 100644
--- a/client/views.py
+++ b/client/views.py
@@ -1,17 +1,16 @@
from django.db.models.expressions import OuterRef, Subquery
from django.template.loader import get_template
from django.urls import reverse
-from client.models import GroupSettings, UserCode, Keys, DocumentType, Document, PersonalData, KeyVal, MedicalData
+from client.models import UserCode, Keys, DocumentType, Document, PersonalData, KeyVal, MedicalData
from django.db.models import Q
-from django.http import HttpResponse, HttpResponseRedirect, FileResponse
+from django.http import HttpResponseRedirect, FileResponse
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from accounts.views import copy_from_midata
-from django.conf import Settings, settings
+from django.conf import settings
from io import BytesIO
import pdfkit
-from subprocess import check_output
from datetime import datetime
import pytz
from random import randint