title: TypeError at /api/v1/accounts/me/ getMe() got an unexpected keyword argument 'version'
body: <p>I am currently working on a Django project  using django-rest-framewok versioning.
  I am facing with a weird problem saying unexpected keyword argument named version. </p>
  
  <p>views.py</p>
  
  <pre><code>class UserViewSet(viewsets.ModelViewSet):
  
      queryset = ScreenShotUser.objects.all()
      serializer_class = UserSerializer
  
  
  def getMe(self,request):
        user = ScreenShotUser.objects.get(pk=request.user.id)
        return Response(user)
  </code></pre>
  
  <p>project url.py </p>
  
  <pre><code>router = routers.DefaultRouter()
  router.register(r 'users', views.UserViewSet)
  urlpatterns = [
    url(r '^api/(?P&lt;version&gt;(v1|v2))/accounts/', include('Accounts.urls')),
  ]
  </code></pre>
  
  <p>and The accounts application's urls.py</p>
  
  <pre><code> urlpatterns = [
      url(r'^', include(router.urls)),
      url(r'^me/$', views.getMe),
   ]
  </code></pre>
  
  <p>when I call <a href="http://127.0.0.1:8000/api/v1/accounts/me/" rel="nofollow">http://127.0.0.1:8000/api/v1/accounts/me/</a>
  I got error like this</p>
  
  <pre><code>TypeError at /api/v1/accounts/me/
  getMe() got an unexpected keyword argument 'version'
  Request Method: GET
  Request URL:    http://127.0.0.1:8000/api/v1/accounts/me/
  Django Version: 1.9.4
  Exception Type: TypeError
  Exception Value:    
  getMe() got an unexpected keyword argument 'version'
  Exception Location: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/core/handlers/base.py in get_response, line 147
  Python Executable:  /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5
  Python Version: 3.5.1
  Python Path:    
  ['/Working_repo/screenshot/ScreenShot',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django_contrib_requestprovider-1.0.1-py3.5.egg',
   '/Working_repo/screenshot/ScreenShot',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python35.zip',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload',
   '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages']
  Server time:    Mon, 28 Mar 2016 13:12:54 +0000
  </code></pre>
  
  <p>Django expert's please give me the hint I am missing. TIA </p>
  
  <p><strong>EDIT</strong>
  I have got solution concept form <strong>Shang Wang's</strong> answer and this will be my solution</p>
  
  <pre><code>@api_view(['GET'])
  def getMe(request, version):
      user = ScreenShotUser.objects.get(pk=request.user.id)
      result = UserSerializer(user).data
      return Response(result)
  </code></pre>