add Package.home_repo

This commit is contained in:
Laura Klünder 2016-09-12 15:03:02 +02:00
parent 0f4cf9fb90
commit 558e145572
3 changed files with 29 additions and 3 deletions

View file

@ -23,7 +23,7 @@ class LevelSerializer(ModelSerializer):
class PackageSerializer(BoundsMixin, ModelSerializer):
class Meta:
model = Package
fields = ('name', 'depends')
fields = ('name', 'home_repo', 'depends')
def to_representation(self, obj):
result = super().to_representation(obj)