mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-05 05:05:17 +02:00
feat: add ActivityCard component and update LocationVisits to use it; modify Activity type to reference trail as string
This commit is contained in:
parent
418edb4245
commit
eae416981d
5 changed files with 554 additions and 181 deletions
|
@ -107,7 +107,6 @@ class TrailSerializer(CustomModelSerializer):
|
|||
return 'External Link'
|
||||
|
||||
class ActivitySerializer(CustomModelSerializer):
|
||||
trail = TrailSerializer(read_only=True)
|
||||
|
||||
class Meta:
|
||||
model = Activity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue