from rest_framework import serializers
from .models import Runner, RunnerVersion


class RunnerVersionSerializer(serializers.ModelSerializer):
    class Meta(object):
        model = RunnerVersion
        fields = ('version', 'url')


class RunnerSerializer(serializers.ModelSerializer):
    versions = RunnerVersionSerializer(many=True)

    class Meta(object):
        model = Runner
        fields = ('name', 'slug', 'icon', 'website', 'versions')

from rest_framework import serializers
from .models import Runner, RunnerVersion


class RunnerVersionSerializer(serializers.ModelSerializer):
    class Meta(object):
        model = RunnerVersion
        fields = ('version', 'path')


class RunnerSerializer(serializers.ModelSerializer):
    versions = RunnerVersionSerializer(many=True)

    class Meta(object):
        model = Runner
        fields = ('name', 'slug', 'icon', 'website', 'versions')

--- 
+++ 
@@ -5,7 +5,7 @@
 class RunnerVersionSerializer(serializers.ModelSerializer):
     class Meta(object):
         model = RunnerVersion
-        fields = ('version', 'path')
+        fields = ('version', 'url')
 
 
 class RunnerSerializer(serializers.ModelSerializer):
Fix url field for runner version serializer
