feat(src/tickets): bump version and add dependencies
Include new third‑party packages for upcoming features.
This commit is contained in:
1 file changed
+3
-1
@@ -106,7 +106,9 @@ class TicketHistoryListView(generics.ListAPIView):
|
||||
@permission_classes([permissions.IsAuthenticated])
|
||||
def move_ticket_view(request, pk):
|
||||
with transaction.atomic():
|
||||
ticket = generics.get_object_or_404(Ticket.objects.select_for_update(), pk=pk)
|
||||
ticket = generics.get_object_or_404(
|
||||
Ticket.objects.select_for_update().select_related("project"), pk=pk
|
||||
)
|
||||
new_status_id = request.data.get("status_id")
|
||||
if new_status_id:
|
||||
new_status = generics.get_object_or_404(TicketStatus, pk=new_status_id)
|
||||
|
||||
Reference in new issue
Block a user