Compare commits
No commits in common. "2799e85605c2ca2a2f01c2297065a27b3facafea" and "8943443e24a30046eb5a815ed6ae35260a4a325a" have entirely different histories.
2799e85605
...
8943443e24
|
|
@ -99,7 +99,6 @@ class PlatformViewSet(CustomModelViewSet):
|
|||
serializer_class = PlatformSerializer
|
||||
filterset_fields = ["p_dept"]
|
||||
ordering = ["-create_time", "p_dept"]
|
||||
search_fields = ["p_dept"]
|
||||
|
||||
|
||||
class PlatstandingViewSet(CustomModelViewSet):
|
||||
|
|
@ -110,5 +109,4 @@ class PlatstandingViewSet(CustomModelViewSet):
|
|||
queryset = Platstanding.objects.all()
|
||||
serializer_class = PlatstandingSerializer
|
||||
filterset_fields = ["name", "city_p", "province_p"]
|
||||
ordering = ["-create_time", "name"]
|
||||
search_fields = ["name", "city_p", "province_p"]
|
||||
ordering = ["-create_time", "name"]
|
||||
Loading…
Reference in New Issue