Merge branch 'main' into rest_filtering

This commit is contained in:
Herculino Trotta
2026-01-10 17:43:45 -03:00
committed by GitHub
21 changed files with 1317 additions and 1071 deletions

View File

@@ -22,6 +22,9 @@ class DCAStrategyViewSet(viewsets.ModelViewSet):
def get_queryset(self):
return DCAStrategy.objects.all()
def get_queryset(self):
return DCAStrategy.objects.all().order_by("id")
@action(detail=True, methods=["get"])
def investment_frequency(self, request, pk=None):
strategy = self.get_object()