|
@@ -8,3 +8,4 @@ class MenuView(ModelViewSet):
|
|
queryset = Menu.objects.all()
|
|
queryset = Menu.objects.all()
|
|
serializer_class = MenuSerializer
|
|
serializer_class = MenuSerializer
|
|
pagination_class = None
|
|
pagination_class = None
|
|
|
|
+ filter_fields = {'code': ['exact'], 'parent': ['exact']}
|