The Using the Django REST framework to create APIs recipe in Chapter 10, Importing and Exporting Data The Testing views with mock recipe