djanto rest framework tutorial parts 5 and 6: http://www.django-rest-framework.org/tutorial/6-viewsets-and-routers