Remove login_required from clone_session_by_id
Django CI/CD / test (push) Successful in 53s Details
Django CI/CD / build-and-push (push) Successful in 1m35s Details

This commit is contained in:
Lukáš Kucharczyk 2024-02-09 22:27:28 +01:00
parent c55176090c
commit ae93703c08
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 0 additions and 1 deletions

View File

@ -241,7 +241,6 @@ def related_purchase_by_edition(request):
return render(request, "partials/related_purchase_field.html", {"form": form}) return render(request, "partials/related_purchase_field.html", {"form": form})
@login_required
def clone_session_by_id(session_id: int) -> Session: def clone_session_by_id(session_id: int) -> Session:
session = get_object_or_404(Session, id=session_id) session = get_object_or_404(Session, id=session_id)
clone = session clone = session