title: Delete/Destroy/Update list using Django REST API View
body: <p>I created a serializer and class ExampleUpdateView in views.py to delete or update an item in my database:</p>
  
  <p>serializer.py:</p>
  
  <pre><code>from rest_framework import serializers
  from example.models import Example
  from django.contrib.auth.models import User
  
  class ExampleSerializer(serializers.ModelSerializer):
      class Meta:
          model = Example
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>class ExampleUpdateView(generics.RetrieveUpdateDestroyAPIView):
      queryset = Example.objects.all()
      serializer_class = ExampleSerializer
  </code></pre>
  
  <p>urls.py:</p>
  
  <pre><code>from django.conf.urls import patterns, url,include
  from rest_framework.urlpatterns import format_suffix_patterns
  from example import views
  
  urlpatterns = patterns('',
      url(r'^example/(?P&lt;pk&gt;[0-9]+)/$', views.ExampleUpdateView.as_view()),
  )
  </code></pre>
  
  <p>Everything works fine, I can update and delete items from list using APIView.
  Maybe it is a little bit stupid question, but I am curios about how to delete or update using url. For example "...url../example?delete=5" to delete item with primary key 5 or "...url../example?update=5&amp;description="updated"" for updating the item. Is it possible using API View?</p>
  
  <p>Could somebody help me please?</p>