Created
September 25, 2019 18:32
-
-
Save brunomichetti/44be69fb016dfbadeefdeb25d1915667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rest_framework import generics | |
from applications.people.serializers import PersonDetailSerializer | |
class PeopleListView(generics.ListCreateAPIView): | |
queryset = Person.objects.all() | |
serializer_class = PersonDetailSerializer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment