Adicionar SubmissionViewSet

parent 33bd9617
from eventos.core.views.event import EventViewSet
from eventos.core.views.submission import SubmissionViewSet
from eventos.core.views.user import UserViewSet
from rest_framework_mongoengine import viewsets
from eventos.core.models import Submission
from eventos.core.serializers import SubmissionSerializer
class SubmissionViewSet(viewsets.ModelViewSet):
queryset = Submission.objects.all()
serializer_class = SubmissionSerializer
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