title: all() got an unexpected keyword argument 'pk' in Django
body: <p>I've got a problem with Django and the Django REST Framework. </p>
  
  <p>When I go to <a href="http://mynameislee.co.uk/albums/" rel="nofollow">http://mynameislee.co.uk/albums/</a> it works fine and returns the Django Framework fine but when I try <a href="http://mynameislee.co.uk/albums/1" rel="nofollow">http://mynameislee.co.uk/albums/1</a> I get all() got an unexpected keyword argument 'pk'. </p>
  
  <p>This is my code. </p>
  
  <p><strong>urls.py</strong> </p>
  
  <pre><code># API
  url(r'^albums/$', 'canary.views.album_list', name='album_list'),
  url(r'^albums/(?P&lt;pk&gt;[0-9])$', 'canary.views.album_detail', name='album_detail'),
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>@login_required
  @api_view(['GET', 'POST'])
  def album_list(request):
  
  # List all tasks, or create a new task.
  
  if request.method == 'GET':
      album = Album.objects.all()
      serializer = AlbumSerializer(album, many=True)
      return Response(serializer.data)
  
  elif request.method == 'POST':
      serializer = AlbumSerializer(data=request.DATA)
  if serializer.is_valid():
     serializer.save()
     return Response(serializer.data, status=status.HTTP_201_CREATED)
  else:
    return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  
  @login_required
  @api_view(['GET', 'PUT', 'DELETE'])
  def album_detail(request, pk):
  
  # Get, update or delete a specific album
  
  try:
    album = Album.objects.all(pk=id)
  except Album.DoesNotExist:
    return Response(status=status.HTTP_404_NOT_FOUND)
  
  if request.method == 'GET':
    serializer = AlbumSerializer(album)
    return Response(serializer.data)
  
  elif request.method == 'PUT':
    serializer = AlbumSerializer(album, data=request.DATA)
    if serializer.is_valid():
      serializer.save()
    return Response(serializer.data)
  else:
    return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  
  elif request.method == 'DELETE':
    album.delete()
    return Response(status=status.HTTP_204_NO_CONTENT)
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class Album(models.Model):
  
    album_id = models.AutoField(primary_key=True)
    artist_name = models.CharField(max_length=255, blank=True)
    album_name = models.CharField(max_length=255, blank=True)
  
    def __unicode__(self):
         return self.album_name
  </code></pre>