Remove login_required from clone_session_by_id
This commit is contained in:
parent
c55176090c
commit
ae93703c08
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue