Code for the Django REST Framework tutorial