Browse Source

Feature: Add private field for pin serializer

pull/178/head
winkidney 4 years ago
parent
commit
c6253d9712
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      core/serializers.py

+ 1
- 0
core/serializers.py View File

@@ -81,6 +81,7 @@ class PinSerializer(serializers.HyperlinkedModelSerializer):
model = Pin
fields = (
settings.DRF_URL_FIELD_NAME,
"private",
"id",
"submitter",
"url",


Loading…
Cancel
Save