Commits

powersurge360  committed 3431d1d

Updated api and added in a router placeholder.

  • Participants
  • Parent commits ff45459

Comments (0)

Files changed (2)

File groupGo/apps/organizations/views.py

     serializer_class = OrganizationSerializer
 
 
-class OrganizationDetailAPIView(generics.RetrieveDestroyAPIView):
+class OrganizationDetailAPIView(generics.RetrieveUpdateDestroyAPIView):
     model = Organization
     serializer_class = OrganizationSerializer
 
     serializer_class = CarPoolerSerializer
 
 
-class CarPoolerDetailAPIView(generics.RetrieveDestroyAPIView):
+class CarPoolerDetailAPIView(generics.RetrieveUpdateDestroyAPIView):
     model = CarPooler
     serializer_class = CarPoolerSerializer

File groupGo/staticfiles/js/app/router.js

Empty file added.