title: Difference between APIView class and viewsets class?
body: <p>What are the differences between the <strong>APIView</strong> and <strong>ViewSets</strong> classes? I am following <a href="http://www.django-rest-framework.org/" rel="nofollow noreferrer">Django REST-framework</a> official documentation. I find it lacking in examples.</p>
  <p>Can you explain the above difference with a suitable example?</p>