2
0
Fork 0

Fix broken import

This commit is contained in:
Luca 2023-05-16 13:09:08 +02:00
parent 4fb345b3bb
commit 0cf0ada124
1 changed files with 0 additions and 3 deletions

View File

@ -106,13 +106,10 @@ def shift_detail(request, pk):
"Helfer ist bereits für diese Schicht angemeldet",
)
return redirect("team:shift", pk=shift.pk)
# break potential cyclic imports
from shiftregister.signage.forms import TeamBackupForm
context = {
"shift": shift,
"add_helper_form": form,
"backup_form": TeamBackupForm(),
}
return render(request, "shift_detail.html", context)