title: Django 1.11 get() missing 1 required positional argument: 'pk'
body: <p>I'm using Django 1.11 and I'm having a issue with path parameters.
  I'm getting an error like this for all requests involving path parameters.</p>
  
  <pre><code>Error:
  TypeError at /posts/2
  get() missing 1 required positional argument: 'pk'
  
  urls.py
  ...
  url(r'^posts',PostView.as_view()),
  url(r'^posts/&lt;int:pk&gt;/',PostView.as_view()),
  ...
  
  views.py
  ..
  #-------- API for CRUD -----------------#
  class PostView(APIView):
      permission_classes = (IsAuthenticated,)
  
      def get_object(self,pk,user_id):
          try:
              return Post.objects.get(pk=pk,user_id=user_id)
          except Post.DoesNotExist:
              raise Http404
  
      def get(self,request,pk):
          post = Post.objects.get(user=request.user.id)
          serializer = PostSerializer(post)
          return Response({"success":True,"data":serializer.data},status=status.HTTP_200_OK)
  
      def put(self, request, pk):
          post = self.get_object(pk,request.user.id)
          serializer = PostSerializer(post, data=request.data)
          if serializer.is_valid():
              serializer.save(user=request.user.id)
              return Response(serializer.data)
          return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  
      def post(self,request):
          params = request.data
          params['user'] = request.user.id
          serializer = PostSerializer(data=request.data)
          serializer.is_valid(raise_exception=True)
          saved_data = self.perform_create(serializer)
          post = PostSerializer(saved_data)
          return Response({"success":True, "message":"Post  Added Successfully","data":post.data}, status=status.HTTP_201_CREATED)
  
      def perform_create(self, serializer):
          return serializer.save()
  ...
  </code></pre>
  
  <p>url example :</p>
  
  <pre><code>GET : localhost:8000/posts/2
  </code></pre>
  
  <p>Can someone tell me how to pass positional parameters.</p>