Skip to content

Commit

Permalink
Delete dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
alainivars committed Jun 17, 2019
1 parent db6c2b3 commit 7107b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions my_api/rest/apps.py

This file was deleted.

3 changes: 2 additions & 1 deletion my_api/rest/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ def to_internal_value(self, data):
raise serializers.ValidationError("'file' is a required field.")

def to_representation(self, obj):
return obj.data
raise NotImplementedError('`to_representation()` must be implemented.')
# return obj.data

0 comments on commit 7107b8b

Please sign in to comment.