mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 07:19:36 +02:00
feat: add GPX file handling and GeoJSON integration in adventure page; update dependencies and AttachmentCard component
This commit is contained in:
parent
30c58ca118
commit
64d2bdebce
6 changed files with 131 additions and 5 deletions
|
@ -2,10 +2,8 @@ from rest_framework import viewsets, status
|
|||
from rest_framework.decorators import action
|
||||
from rest_framework.permissions import IsAuthenticated
|
||||
from rest_framework.response import Response
|
||||
from django.db.models import Q
|
||||
from adventures.models import Adventure, Attachment
|
||||
from adventures.serializers import AttachmentSerializer
|
||||
import uuid
|
||||
|
||||
class AttachmentViewSet(viewsets.ModelViewSet):
|
||||
serializer_class = AttachmentSerializer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue