```python
class AvatarSerializer(serializers.ModelSerializer):
    avatar = HyperlinkedImageField()
```
would work I think?