Configured pagination for the django rest api and added depth to the event json.