Example usage of django rest framework