|
|
@@ -33,7 +33,7 @@ def time_dif(checkdatetime):
|
|
|
class PlatformIOTCardViewSet(viewsets.ModelViewSet):
|
|
|
serializer_class = PlatSimInfoSerializer
|
|
|
pagination_class = CustomPagination
|
|
|
- queryset = PlatSimInfo.objects.all().order_by("-expiry_date")
|
|
|
+ queryset = PlatSimInfo.objects.all().order_by("-id")
|
|
|
|
|
|
def list(self, request, *args, **kwargs):
|
|
|
device_type = request.query_params.get("device_type")
|