score:0

class GetDateAndUpdate(RetrieveUpdateAPIView):

    queryset = YOURMODEL.objects.all()
    serializer_class = YOURMODELSerializer        
    permission_classes = [IsAuthenticated,IsOwner]

# in urls.py 
url(r'^(?P<pk>[-\w]+)/update/$',
                GetDateAndUpdate.as_view(),
                name='update',
                ),

Related Query

More Query from same tag