Verified Commit 3244d985 authored by David Haynes's avatar David Haynes 🙆
Browse files

Add in a few more words from the docs

- HyperLinked is the only different one, include some more words
parent 4ca79e19
Pipeline #1381 passed with stage
in 1 minute and 5 seconds
......@@ -63,6 +63,12 @@ class ScheduleSerializer(serializers.ModelSerializer):
class FacilitySerializer(serializers.HyperlinkedModelSerializer):
Serializer for the Facility model.
From the docs:
The HyperlinkedModelSerializer class is similar to the ModelSerializer
class except that it uses hyperlinks to represent relationships, rather
than primary keys.
# Append a serialized Category object
facility_category = CategorySerializer(many=False, read_only=True)
Markdown is supported
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