title: Disable a method in a ViewSet, django-rest-framework
body: <p><code>ViewSets</code> have automatic methods to list, retrieve, create, update, delete, ...</p>
  
  <p>I would like to disable some of those, and the solution I came up with is probably not a good one, since <code>OPTIONS</code> still states those as allowed.</p>
  
  <p>Any idea on how to do this the right way?</p>
  
  <pre class="lang-python prettyprint-override"><code>class SampleViewSet(viewsets.ModelViewSet):
      queryset = api_models.Sample.objects.all()
      serializer_class = api_serializers.SampleSerializer
  
      def list(self, request):
          return Response(status=status.HTTP_405_METHOD_NOT_ALLOWED)
      def create(self, request):
          return Response(status=status.HTTP_405_METHOD_NOT_ALLOWED)
  </code></pre>