Follow this tutorial http://django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis.html