from django.shortcuts import render

# Create your views here.

@@ -33,31 +33,272 @@
 der%0A
-%0A# Create your views here.
+from rest_framework import generics, serializers%0A%0Afrom orders.models import Order%0A%0Aclass OrderSerializer(serializers.OrderSerializer):%0A    class Meta:%0A        model = Order%0A%0A%0Aclass OrderOffice(RetriveAPIView): %0A    model = Order%0A    serializer_class = OrderSerializer
 %0A

Add OrderOffice and OrderSerializer