Skip to content

Commit

Permalink
add url to serializer (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyouMB authored Feb 20, 2021
1 parent ba6e01a commit 30f04a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ResourcePageSectionSerializer(serializers.ModelSerializer):
resources = ResourceSerializer(many=True, required=False, source="public_resources")
class Meta:
model = ResourcePageSection
fields = ("title", "description", "resources")
fields = ("title", "description", "url", "resources")

class ResourcePageSerializer(serializers.ModelSerializer):
resource_page_sections = ResourcePageSectionSerializer(many=True, required=False, source="public_sections")
Expand Down

0 comments on commit 30f04a5

Please sign in to comment.