mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
collections v3
This commit is contained in:
parent
e533dda328
commit
7e5e4edd4d
9 changed files with 266 additions and 158 deletions
|
@ -24,7 +24,7 @@ class CollectionSerializer(serializers.ModelSerializer):
|
|||
class Meta:
|
||||
model = Collection
|
||||
# fields are all plus the adventures field
|
||||
fields = ['id', 'user_id', 'name', 'is_public', 'adventures']
|
||||
fields = ['id', 'description', 'user_id', 'name', 'is_public', 'adventures']
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue