Adapt the code to first version of django-deep-serializer. Remove the test view, and add this view in the admin site