Skip to content

Commit

Permalink
Fix dict field properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Feb 27, 2015
1 parent ca03e4c commit 3c21cfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pip_requirements.txt
Expand Up @@ -21,7 +21,7 @@ celery-haystack==0.7.2
django-guardian==1.2.0
django-extensions==1.3.8
South==0.8.4
djangorestframework==3.0.1
djangorestframework==3.0.4
pytest-django==2.6.2

requests==2.3.0
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/restapi/serializers.py
Expand Up @@ -27,7 +27,7 @@ class Meta:

class VersionSerializer(serializers.ModelSerializer):
project = ProjectSerializer()
downloads = serializers.CharField(source='get_downloads', read_only=True)
downloads = serializers.DictField(source='get_downloads', read_only=True)

class Meta:
model = Version
Expand Down

0 comments on commit 3c21cfb

Please sign in to comment.