Fix broken import
This commit is contained in:
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…
Reference in New Issue