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