title: Why my view is not found in django rest framework?
body: <p>I am working on mezzanine rest api and adding some more views to be able to work easily. I coded one view and made its serializer but when trying to hit from postman, I am getting error not found 404</p>
  
  <p><code>Views.py</code></p>
  
  <pre><code>@csrf_exempt
  @api_view(['POST'])
  def create_site_record(request):
      serializer = SiteModelSerializer(data=request.data)
      if serializer.is_valid():
          serializer.save()
          return Response(serializer.data, status=status.HTTP_201_CREATED)
  </code></pre>
  
  <p><code>serializers.py</code></p>
  
  <pre><code>class SiteModelSerializer(serializers.Serializer):
      title = serializers.CharField(required=True, max_length=100)
      tagline = serializers.CharField(required=True, max_length=100)
      domain = serializers.CharField(required=True, max_length=100)
  
      def create(self, validated_data):
          return Site.objects.create(**validated_data)
  </code></pre>
  
  <p><code>urls.py</code></p>
  
  <pre><code>router = routers.DefaultRouter(trailing_slash=False)
  router.register(r'users', UserViewSet)
  router.register(r'pages', PageViewSet)
  router.register(r'posts', PostViewSet)
  router.register(r'categories', CategoryViewSet)
  # router.register(r'create_site', create_site_record, 'sitess')
  router.register(r'site', SiteViewSet, SiteViewSet.as_view({'get': 'retrieve'}))
  
  
  urlpatterns = [
      url(r'^create/(?P&lt;pk&gt;[0-9]+)$', create_site_record), # I have tried registering this view in router also but no luck
      url(r'^', include(router.urls)),
      url(r'^docs/', include('rest_framework_swagger.urls')),
      url(r'^oauth2/', include('oauth2_provider.urls', namespace='oauth2_provider')),
      url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
  ]
  </code></pre>
  
  <p>I am trying to hit this endpoint : <code>http://localhost:8000/api/create_site/</code>
  with payload : <code>{
      "title": "Test",
      "tagling": "sdhjshjd",
      "domain": "test:8000"
  }</code></p>
  
  <p>Getting error : <code>Not Found: /api/create_site/</code>
  What I am doing wrong?</p>