mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-04 22:16:37 +01:00
Merge branch 'main' into rest_filtering
This commit is contained in:
21 files changed
+1317
-1071
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user