Verified Commit 5a333d8d authored by Luuk Scholten's avatar Luuk Scholten Committed by Sébastiaan Versteeg
Browse files

Rename event api 'id' to 'pk'

parent 11ada359
......@@ -106,7 +106,7 @@ class EventListSerializer(serializers.ModelSerializer):
class Meta:
model = Event
fields = ('title', 'description', 'start',
'location', 'price', 'id')
'location', 'price', 'pk')
description = serializers.SerializerMethodField('_description')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment