aboutsummaryrefslogtreecommitdiffstats
path: root/client/views.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-03-23 19:10:35 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-03-23 19:10:47 +0100
commit7926fee19b2241e2f3facef8b6eb8789f5d97d49 (patch)
tree0ddc4a687feb0ec0e8e81003248905f26ca1c3cc /client/views.py
parentadd option to disable oauth (diff)
downloadscout-subs-7926fee19b2241e2f3facef8b6eb8789f5d97d49.tar.gz
scout-subs-7926fee19b2241e2f3facef8b6eb8789f5d97d49.zip
initial support of user switcher
Diffstat (limited to '')
-rw-r--r--client/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/views.py b/client/views.py
index 0f1bfaa..04ebaf9 100644
--- a/client/views.py
+++ b/client/views.py
@@ -2,7 +2,7 @@ from django.db.models.expressions import OuterRef, Subquery
from django.template.loader import get_template
from client.models import GroupSettings, UserCode, Keys, DocumentType, Document, PersonalData, KeyVal, MedicalData
from django.db.models import Q
-from django.http import HttpResponseRedirect, FileResponse
+from django.http import HttpResponse, HttpResponseRedirect, FileResponse
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from accounts.views import copy_from_midata