Fix broken import

pull/1/head
Luca 2 years ago
parent 4fb345b3bb
commit 0cf0ada124

@ -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)

Loading…
Cancel
Save